Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001038/0.001038, allocations: 99.34 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.001574/0.001574, allocations: 185.2 kB / 16.92 MB, free: 6.895 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.373/1.373, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.766/2.766, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003838, allocations: 8.469 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3023, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer): time 0.00586/0.3082, allocations: 4.832 MB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006263/0.3145, allocations: 4.005 MB / 1.068 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005066/0.315, allocations: 15.88 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.3154, allocations: 87.31 kB / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.3169, allocations: 0.6265 MB / 1.069 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.318, allocations: 435.1 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001479/0.3195, allocations: 1.415 MB / 1.07 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.3207, allocations: 0.6692 MB / 1.071 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005458/0.3213, allocations: 346.6 kB / 1.071 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006977/0.322, allocations: 482.2 kB / 1.072 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.11e-05/0.3221, allocations: 32 kB / 1.072 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.3237, allocations: 0.9824 MB / 1.073 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002905/0.324, allocations: 275.2 kB / 1.073 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000371/0.3244, allocations: 375.7 kB / 1.074 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.3256, allocations: 0.9704 MB / 1.074 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3256, allocations: 0 / 1.074 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3256, allocations: 0 / 1.074 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.3256, allocations: 4 kB / 1.074 GB, free: 5.359 MB / 0.8262 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.001837/0.3275, allocations: 0.9391 MB / 1.075 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.3275, allocations: 19.91 kB / 1.075 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009553/0.3371, allocations: 1.638 MB / 1.077 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/0.3381, allocations: 0.5512 MB / 1.078 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.3382, allocations: 57.67 kB / 1.078 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.3384, allocations: 60.36 kB / 1.078 GB, free: 2 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004778/0.3431, allocations: 1.841 MB / 1.079 GB, free: 92 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.3432, allocations: 3.938 kB / 1.079 GB, free: 88 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.3433, allocations: 39.97 kB / 1.079 GB, free: 48 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002358/0.3436, allocations: 101.5 kB / 1.08 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007865/0.3514, allocations: 2.491 MB / 1.082 GB, free: 13.45 MB / 0.8419 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.008896/0.3604, allocations: 6.376 MB / 1.088 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003712/0.3641, allocations: 1.379 MB / 1.09 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002681/0.3668, allocations: 0.9104 MB / 1.09 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002533/0.3694, allocations: 2.162 MB / 1.093 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.3694, allocations: 46.5 kB / 1.093 GB, free: 2 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=69): time 2.295e-06/0.3694, allocations: 0 / 1.093 GB, free: 2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=93): time 0.02473/0.3942, allocations: 6.781 MB / 1.099 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/0.3943, allocations: 191.9 kB / 1.099 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000672/0.395, allocations: 0.5173 MB / 1.1 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.3951, allocations: 45.7 kB / 1.1 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.3954, allocations: 386.7 kB / 1.1 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.3957, allocations: 331.3 kB / 1.101 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.3959, allocations: 101.7 kB / 1.101 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.396, allocations: 374.8 kB / 1.101 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00306/0.3991, allocations: 1.013 MB / 1.102 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003139/0.4022, allocations: 1.302 MB / 1.103 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006075/0.4083, allocations: 2.3 MB / 1.106 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.4084, allocations: 4 kB / 1.106 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01039/0.4188, allocations: 3.376 MB / 1.109 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002363/0.419, allocations: 339.8 kB / 1.109 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.419, allocations: 12 kB / 1.109 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004699/0.4238, allocations: 1.096 MB / 1.11 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/0.4261, allocations: 475.1 kB / 1.111 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/0.4371, allocations: 8.961 MB / 1.12 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/0.4395, allocations: 307.6 kB / 1.12 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.4397, allocations: 59.95 kB / 1.12 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.4397, allocations: 6.031 kB / 1.12 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009138/0.4488, allocations: 3.051 MB / 1.123 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/0.4489, allocations: 8 kB / 1.123 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003106/0.452, allocations: 0.7603 MB / 1.124 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/0.4543, allocations: 495.2 kB / 1.124 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008779/0.4631, allocations: 6.934 MB / 1.131 GB, free: 9.395 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.4654, allocations: 303.5 kB / 1.131 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.4656, allocations: 55.97 kB / 1.131 GB, free: 9.043 MB / 0.8887 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.0005998/0.4662, allocations: 356.7 kB / 1.132 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.4664, allocations: 79.14 kB / 1.132 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009924/0.4764, allocations: 3.113 MB / 1.135 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.4764, allocations: 16 kB / 1.135 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.4764, allocations: 4 kB / 1.135 GB, free: 5.438 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.4765, allocations: 7.969 kB / 1.135 GB, free: 5.43 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/0.4884, allocations: 5.029 MB / 1.14 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.4885, allocations: 12.03 kB / 1.14 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.4902, allocations: 359.4 kB / 1.14 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004044/0.4943, allocations: 1.002 MB / 1.141 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/0.4944, allocations: 35.97 kB / 1.141 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009985/0.5044, allocations: 8.665 MB / 1.149 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.5044, allocations: 7.938 kB / 1.149 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00956/0.514, allocations: 3.266 MB / 1.153 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006733/0.5147, allocations: 308.1 kB / 1.153 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.5149, allocations: 31.92 kB / 1.153 GB, free: 1.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001911/0.5168, allocations: 287.5 kB / 1.153 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002899/0.5171, allocations: 91.77 kB / 1.153 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.914e-05/0.5172, allocations: 39.97 kB / 1.153 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005209/0.5177, allocations: 378.8 kB / 1.154 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5177, allocations: 0 / 1.154 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001996/0.5197, allocations: 0.5117 MB / 1.154 GB, free: 0.6367 MB / 0.9044 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.0002736/0.52, allocations: 139 kB / 1.154 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01269/0.5327, allocations: 4.838 MB / 1.159 GB, free: 11.56 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/0.5328, allocations: 7.938 kB / 1.159 GB, free: 11.55 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.004269/0.5371, allocations: 1.742 MB / 1.161 GB, free: 9.762 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.5386, allocations: 123.6 kB / 1.161 GB, free: 9.641 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.5496, allocations: 3.647 MB / 1.164 GB, free: 5.887 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008401/0.5504, allocations: 1.044 MB / 1.165 GB, free: 4.816 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005834/0.551, allocations: 103.3 kB / 1.166 GB, free: 4.715 MB / 0.92 GB Notification: Performance of SimCode: time 6.31e-07/0.551, allocations: 3.938 kB / 1.166 GB, free: 4.711 MB / 0.92 GB Notification: Performance of Templates: time 0.03617/0.5872, allocations: 25.92 MB / 1.191 GB, free: 10.79 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches