Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.00095/0.0009499, allocations: 92.08 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.82/2.82, allocations: 437.7 MB / 0.7117 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.0004264, allocations: 11.94 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7571/0.7575, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer): time 0.005843/0.7634, allocations: 4.591 MB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005859/0.7693, allocations: 3.766 MB / 1.031 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004805/0.7699, allocations: 15.81 kB / 1.031 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.7703, allocations: 87.31 kB / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.7719, allocations: 0.5017 MB / 1.031 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.7732, allocations: 355.2 kB / 1.031 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001584/0.7748, allocations: 1.149 MB / 1.033 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.7764, allocations: 0.6368 MB / 1.033 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009423/0.7773, allocations: 346.6 kB / 1.034 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.7787, allocations: 466.4 kB / 1.034 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002792/0.779, allocations: 32 kB / 1.034 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.7807, allocations: 479.3 kB / 1.034 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006299/0.7813, allocations: 279.2 kB / 1.035 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004945/0.7819, allocations: 145.3 kB / 1.035 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.7838, allocations: 0.9448 MB / 1.036 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.7838, allocations: 0 / 1.036 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.916e-06/0.7839, allocations: 0 / 1.036 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.563e-05/0.7839, allocations: 0 / 1.036 GB, free: 2.219 MB / 0.7794 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.002392/0.7863, allocations: 0.9584 MB / 1.037 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.7864, allocations: 12.52 kB / 1.037 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00832/0.7947, allocations: 1.61 MB / 1.038 GB, free: 15.59 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.7961, allocations: 0.5424 MB / 1.039 GB, free: 15.01 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.512e-05/0.7962, allocations: 49.25 kB / 1.039 GB, free: 14.96 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003139/0.7965, allocations: 63.92 kB / 1.039 GB, free: 14.89 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005004/0.8015, allocations: 1.833 MB / 1.041 GB, free: 12.99 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.8016, allocations: 11.88 kB / 1.041 GB, free: 12.98 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.8017, allocations: 27.98 kB / 1.041 GB, free: 12.95 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002304/0.8019, allocations: 101.5 kB / 1.041 GB, free: 12.85 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007017/0.809, allocations: 2.48 MB / 1.043 GB, free: 10.37 MB / 0.795 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.0131/0.8221, allocations: 6.353 MB / 1.05 GB, free: 3.621 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/0.8254, allocations: 1.355 MB / 1.051 GB, free: 2.211 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002276/0.8277, allocations: 0.8987 MB / 1.052 GB, free: 1.293 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002925/0.8307, allocations: 2.158 MB / 1.054 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.8308, allocations: 46.5 kB / 1.054 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 2.465e-06/0.8308, allocations: 0 / 1.054 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of matching and sorting (n=93): time 0.02061/0.8514, allocations: 6.63 MB / 1.06 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.8516, allocations: 191.9 kB / 1.061 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007778/0.8524, allocations: 0.5134 MB / 1.061 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001511/0.8525, allocations: 41.7 kB / 1.061 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.8528, allocations: 402.6 kB / 1.061 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003897/0.8532, allocations: 319.4 kB / 1.062 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.8534, allocations: 31.94 kB / 1.062 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002502/0.8536, allocations: 378.8 kB / 1.062 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003754/0.8574, allocations: 0.9938 MB / 1.063 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/0.8604, allocations: 1.287 MB / 1.064 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002709/0.8632, allocations: 1.079 MB / 1.065 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.8632, allocations: 4 kB / 1.065 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.009258/0.8725, allocations: 3.337 MB / 1.069 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003135/0.8728, allocations: 331.8 kB / 1.069 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.8728, allocations: 15.98 kB / 1.069 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004144/0.877, allocations: 1.088 MB / 1.07 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.8789, allocations: 467.2 kB / 1.071 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/0.8917, allocations: 9.204 MB / 1.08 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0033/0.895, allocations: 303.5 kB / 1.08 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003494/0.8954, allocations: 59.95 kB / 1.08 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.8955, allocations: 6.031 kB / 1.08 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008579/0.9041, allocations: 3.016 MB / 1.083 GB, free: 444 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.3e-05/0.9041, allocations: 11.95 kB / 1.083 GB, free: 432 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002836/0.907, allocations: 0.7596 MB / 1.084 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/0.9091, allocations: 491.2 kB / 1.084 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008822/0.9179, allocations: 6.927 MB / 1.091 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.9199, allocations: 303.4 kB / 1.091 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002436/0.9202, allocations: 60.03 kB / 1.091 GB, free: 7.488 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007214/0.9209, allocations: 360.7 kB / 1.092 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/0.9212, allocations: 75.14 kB / 1.092 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008882/0.9301, allocations: 3.09 MB / 1.095 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.9302, allocations: 8 kB / 1.095 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.187e-05/0.9302, allocations: 4 kB / 1.095 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.9302, allocations: 11.94 kB / 1.095 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.9416, allocations: 5.017 MB / 1.1 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.9416, allocations: 4 kB / 1.1 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/0.9431, allocations: 364 kB / 1.1 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003584/0.9467, allocations: 1.006 MB / 1.101 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.9469, allocations: 35.97 kB / 1.101 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/0.9578, allocations: 8.653 MB / 1.109 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.9579, allocations: 7.938 kB / 1.109 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008958/0.9669, allocations: 3.255 MB / 1.113 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007067/0.9676, allocations: 311.9 kB / 1.113 GB, free: 476 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.9679, allocations: 27.92 kB / 1.113 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/0.9697, allocations: 299.5 kB / 1.113 GB, free: 148 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/0.97, allocations: 91.64 kB / 1.113 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.9701, allocations: 47.95 kB / 1.113 GB, free: 8 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005537/0.9706, allocations: 366.8 kB / 1.114 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9707, allocations: 0 / 1.114 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002426/0.9731, allocations: 0.5078 MB / 1.114 GB, free: 15.14 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003224/0.9734, allocations: 139.1 kB / 1.114 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01254/0.986, allocations: 4.948 MB / 1.119 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.986, allocations: 4.062 kB / 1.119 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.003903/0.99, allocations: 1.74 MB / 1.121 GB, free: 8.16 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.9914, allocations: 121.2 kB / 1.121 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/1.001, allocations: 3.525 MB / 1.124 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000964/1.002, allocations: 1.036 MB / 1.125 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002259/1.005, allocations: 0.4906 MB / 1.126 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000395/1.005, allocations: 79.36 kB / 1.126 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of SimCode: time 1.322e-06/1.005, allocations: 0 / 1.126 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of Templates: time 0.03326/1.038, allocations: 19.72 MB / 1.145 GB, free: 15.12 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches