Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,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.ACACTransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,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.ACACTransformerFull") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.71/1.71, allocations: 390.4 MB / 397.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000919/0.000919, allocations: 189.2 kB / 490.8 MB, free: 1.879 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.073/1.073, allocations: 221.4 MB / 0.7863 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008131/0.0008132, allocations: 91.03 kB / 0.9264 GB, free: 14.13 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.34e-06/5.36e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1676, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4639/0.6316, allocations: 196.2 MB / 1.403 GB, free: 5.242 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/0.6318, allocations: 84.25 kB / 1.403 GB, free: 5.195 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.1046/0.7364, allocations: 50.73 MB / 1.453 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.985e-05/0.7365, allocations: 20 kB / 1.453 GB, free: 10.35 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.001472/0.7379, allocations: 0.9733 MB / 1.454 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.738, allocations: 8.031 kB / 1.454 GB, free: 9.367 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008563/0.7465, allocations: 1.249 MB / 1.455 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009745/0.7475, allocations: 0.6233 MB / 1.456 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.7476, allocations: 23.94 kB / 1.456 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.7477, allocations: 36 kB / 1.456 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001897/0.7496, allocations: 1.342 MB / 1.457 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.7514, allocations: 1.386 MB / 1.458 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.7514, allocations: 4 kB / 1.458 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.7515, allocations: 0 / 1.458 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002783/0.7518, allocations: 140.3 kB / 1.458 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008395/0.7602, allocations: 6.555 MB / 1.465 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000951/0.7611, allocations: 0.8378 MB / 1.466 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006659/0.7618, allocations: 0.5722 MB / 1.466 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00179/0.7636, allocations: 1.486 MB / 1.468 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.7637, allocations: 38.44 kB / 1.468 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 1.693e-06/0.7637, allocations: 0 / 1.468 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of matching and sorting (n=107): time 0.00964/0.7733, allocations: 4.187 MB / 1.472 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.7734, allocations: 94.05 kB / 1.472 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004501/0.7738, allocations: 479.2 kB / 1.472 GB, free: 9.246 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/0.7739, allocations: 25.7 kB / 1.472 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.7741, allocations: 360.3 kB / 1.473 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.7743, allocations: 361.6 kB / 1.473 GB, free: 8.578 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.7744, allocations: 0 / 1.473 GB, free: 8.578 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7746, allocations: 390 kB / 1.473 GB, free: 8.223 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000942/0.7755, allocations: 0.7507 MB / 1.474 GB, free: 7.742 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.7766, allocations: 1.09 MB / 1.475 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.7783, allocations: 1.018 MB / 1.476 GB, free: 6.09 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.7784, allocations: 0 / 1.476 GB, free: 6.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006128/0.7845, allocations: 2.933 MB / 1.479 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001044/0.7855, allocations: 3.912 MB / 1.483 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.7856, allocations: 12 kB / 1.483 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003552/0.7891, allocations: 0.9562 MB / 1.484 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.791, allocations: 390.9 kB / 1.484 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009463/0.8005, allocations: 8.376 MB / 1.492 GB, free: 7.121 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.8022, allocations: 195.8 kB / 1.493 GB, free: 6.93 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.8024, allocations: 65.34 kB / 1.493 GB, free: 6.875 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-06/0.8024, allocations: 4 kB / 1.493 GB, free: 6.871 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00423/0.8066, allocations: 2.337 MB / 1.495 GB, free: 4.934 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.8067, allocations: 8 kB / 1.495 GB, free: 4.926 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001573/0.8082, allocations: 0.5658 MB / 1.495 GB, free: 4.348 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.8102, allocations: 419.4 kB / 1.496 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007705/0.8179, allocations: 8.095 MB / 1.504 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.8196, allocations: 191.8 kB / 1.504 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.8197, allocations: 63.97 kB / 1.504 GB, free: 11.12 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002428/0.82, allocations: 136.6 kB / 1.504 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.8202, allocations: 79.06 kB / 1.504 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006769/0.8269, allocations: 3.006 MB / 1.507 GB, free: 7.879 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.827, allocations: 12 kB / 1.507 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.827, allocations: 4 kB / 1.507 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.827, allocations: 11.97 kB / 1.507 GB, free: 7.852 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008176/0.8352, allocations: 4.568 MB / 1.512 GB, free: 3.148 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.8352, allocations: 4 kB / 1.512 GB, free: 3.145 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/0.8367, allocations: 300.1 kB / 1.512 GB, free: 2.852 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003618/0.8404, allocations: 1.034 MB / 1.513 GB, free: 1.805 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.514e-05/0.8405, allocations: 19.97 kB / 1.513 GB, free: 1.785 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.8515, allocations: 9.706 MB / 1.522 GB, free: 7.621 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.8516, allocations: 11.98 kB / 1.522 GB, free: 7.609 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00566/0.8572, allocations: 3.108 MB / 1.526 GB, free: 4.262 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/0.8577, allocations: 343.9 kB / 1.526 GB, free: 3.906 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.8579, allocations: 7.984 kB / 1.526 GB, free: 3.898 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00185/0.8598, allocations: 227.7 kB / 1.526 GB, free: 3.676 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.8599, allocations: 76.31 kB / 1.526 GB, free: 3.602 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.8601, allocations: 43.97 kB / 1.526 GB, free: 3.559 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0003386/0.8604, allocations: 363 kB / 1.527 GB, free: 3.203 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001498/0.8619, allocations: 0.5077 MB / 1.527 GB, free: 2.695 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002253/0.8621, allocations: 142 kB / 1.527 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006195/0.8683, allocations: 3.897 MB / 1.531 GB, free: 14.58 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.8684, allocations: 128 / 1.531 GB, free: 14.58 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002591/0.8709, allocations: 1.536 MB / 1.532 GB, free: 13 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006127/0.8716, allocations: 118.1 kB / 1.533 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007972/0.8796, allocations: 2.644 MB / 1.535 GB, free: 10.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009841/0.8806, allocations: 1.184 MB / 1.536 GB, free: 8.93 MB / 0.948 GB Notification: Performance of SimCode: time 2.6e-07/0.8806, allocations: 0 / 1.536 GB, free: 8.93 MB / 0.948 GB Notification: Performance of Templates: time 0.03807/0.9186, allocations: 33.11 MB / 1.569 GB, free: 7.918 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches