Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 186.1 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.436/2.436, allocations: 390.9 MB / 0.667 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 8 kB / 0.8166 GB, free: 13.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7232/0.7236, allocations: 142.4 MB / 0.9557 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer): time 0.005171/0.7288, allocations: 4.816 MB / 0.9604 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005563/0.7344, allocations: 4.01 MB / 0.9643 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004615/0.7349, allocations: 11.59 kB / 0.9643 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.7352, allocations: 92.28 kB / 0.9644 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.737, allocations: 0.6366 MB / 0.9651 GB, free: 296 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.7382, allocations: 426.5 kB / 0.9655 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001783/0.74, allocations: 1.418 MB / 0.9669 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.7412, allocations: 0.6759 MB / 0.9675 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005903/0.7418, allocations: 343.2 kB / 0.9678 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007291/0.7426, allocations: 485.6 kB / 0.9683 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.629e-05/0.7427, allocations: 31.75 kB / 0.9683 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002151/0.7448, allocations: 0.9785 MB / 0.9693 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003488/0.7452, allocations: 277.8 kB / 0.9696 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004466/0.7456, allocations: 373.7 kB / 0.9699 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.7471, allocations: 0.9743 MB / 0.9709 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.7471, allocations: 4 kB / 0.9709 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.875e-06/0.7472, allocations: 0 / 0.9709 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.7472, allocations: 0 / 0.9709 GB, free: 12.68 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.002001/0.7492, allocations: 0.9325 MB / 0.9718 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.7492, allocations: 14.47 kB / 0.9718 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0096/0.7588, allocations: 1.635 MB / 0.9734 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.7601, allocations: 0.5568 MB / 0.9739 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/0.7601, allocations: 46.52 kB / 0.974 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/0.7603, allocations: 64.52 kB / 0.974 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005069/0.7654, allocations: 1.85 MB / 0.9758 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.7655, allocations: 13.17 kB / 0.9759 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.7656, allocations: 27.39 kB / 0.9759 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002429/0.7658, allocations: 107.2 kB / 0.976 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007843/0.7737, allocations: 2.498 MB / 0.9784 GB, free: 7.91 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008996/0.7827, allocations: 6.365 MB / 0.9846 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00364/0.7864, allocations: 1.378 MB / 0.986 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/0.789, allocations: 0.9064 MB / 0.9869 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0033/0.7923, allocations: 2.162 MB / 0.989 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.7923, allocations: 50.5 kB / 0.989 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=69): time 3.697e-06/0.7924, allocations: 0 / 0.989 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of matching and sorting (n=93): time 0.02446/0.8168, allocations: 6.786 MB / 0.9957 GB, free: 5.656 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.762e-05/0.817, allocations: 191.9 kB / 0.9958 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007492/0.8177, allocations: 0.5251 MB / 0.9963 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001564/0.8179, allocations: 45.64 kB / 0.9964 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.8182, allocations: 390.7 kB / 0.9968 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003569/0.8186, allocations: 323.4 kB / 0.9971 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.8188, allocations: 97.67 kB / 0.9972 GB, free: 4.027 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8189, allocations: 378.8 kB / 0.9975 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002916/0.8219, allocations: 1.009 MB / 0.9985 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003127/0.825, allocations: 1.302 MB / 0.9998 GB, free: 1.223 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006126/0.8311, allocations: 2.3 MB / 1.002 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/0.8312, allocations: 4 kB / 1.002 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01014/0.8413, allocations: 3.372 MB / 1.005 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002564/0.8416, allocations: 343.6 kB / 1.006 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.8417, allocations: 8 kB / 1.006 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004607/0.8463, allocations: 1.1 MB / 1.007 GB, free: 9.836 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002422/0.8487, allocations: 471.2 kB / 1.007 GB, free: 9.375 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/0.8611, allocations: 8.958 MB / 1.016 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/0.8636, allocations: 311.5 kB / 1.016 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000316/0.8639, allocations: 59.95 kB / 1.016 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.8639, allocations: 4 kB / 1.016 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00964/0.8736, allocations: 3.047 MB / 1.019 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/0.8737, allocations: 12 kB / 1.019 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003146/0.8768, allocations: 0.7524 MB / 1.02 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002434/0.8793, allocations: 499.2 kB / 1.02 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009252/0.8886, allocations: 6.942 MB / 1.027 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/0.8909, allocations: 299.6 kB / 1.028 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/0.8913, allocations: 59.95 kB / 1.028 GB, free: 3.508 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0008118/0.8922, allocations: 361 kB / 1.028 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.8925, allocations: 75.16 kB / 1.028 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/0.9028, allocations: 3.117 MB / 1.031 GB, free: 15.92 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/0.9028, allocations: 12 kB / 1.031 GB, free: 15.91 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/0.9029, allocations: 4 kB / 1.031 GB, free: 15.9 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/0.9029, allocations: 3.984 kB / 1.031 GB, free: 15.9 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/0.9164, allocations: 5.031 MB / 1.036 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.288e-05/0.9165, allocations: 11.94 kB / 1.036 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/0.9182, allocations: 355.4 kB / 1.036 GB, free: 10.37 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004022/0.9222, allocations: 1.002 MB / 1.037 GB, free: 9.355 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.9224, allocations: 39.91 kB / 1.037 GB, free: 9.316 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/0.9342, allocations: 8.661 MB / 1.046 GB, free: 124 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.9343, allocations: 7.938 kB / 1.046 GB, free: 116 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009959/0.9443, allocations: 3.266 MB / 1.049 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007723/0.9451, allocations: 319.9 kB / 1.049 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/0.9454, allocations: 20 kB / 1.049 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/0.9474, allocations: 291.5 kB / 1.05 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003396/0.9478, allocations: 99.62 kB / 1.05 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/0.948, allocations: 39.97 kB / 1.05 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006998/0.9487, allocations: 378.8 kB / 1.05 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9487, allocations: 0 / 1.05 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002487/0.9512, allocations: 0.5039 MB / 1.051 GB, free: 11.11 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004021/0.9516, allocations: 135 kB / 1.051 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01351/0.9651, allocations: 4.838 MB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/0.9652, allocations: 0 / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004363/0.9695, allocations: 1.746 MB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.9713, allocations: 121.7 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.9826, allocations: 3.673 MB / 1.061 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009826/0.9836, allocations: 1.04 MB / 1.062 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006283/0.9842, allocations: 103.3 kB / 1.062 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of SimCode: time 8.22e-07/0.9843, allocations: 0 / 1.062 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of Templates: time 0.04035/1.025, allocations: 25.91 MB / 1.087 GB, free: 5.242 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches