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/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.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") [: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.683/1.683, 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.0008924/0.0008925, allocations: 185.2 kB / 490.8 MB, free: 1.887 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.062/1.062, allocations: 221.3 MB / 0.7863 GB, free: 13.62 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.0008116/0.0008117, allocations: 96.62 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.641e-06/5.671e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.162, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4705/0.6325, allocations: 192 MB / 1.399 GB, free: 9.258 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.6327, allocations: 90.56 kB / 1.399 GB, free: 9.207 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.09812/0.7308, allocations: 48.86 MB / 1.447 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.841e-05/0.7309, allocations: 19.98 kB / 1.447 GB, free: 15.97 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.001326/0.7322, allocations: 0.906 MB / 1.448 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.7322, allocations: 8.031 kB / 1.448 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00802/0.7403, allocations: 1.184 MB / 1.449 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007873/0.7411, allocations: 0.5484 MB / 1.45 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.7411, allocations: 27.94 kB / 1.45 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.7412, allocations: 36 kB / 1.45 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001793/0.743, allocations: 1.269 MB / 1.451 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.7446, allocations: 1.292 MB / 1.452 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.7446, allocations: 7.938 kB / 1.452 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-05/0.7447, allocations: 4 kB / 1.452 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/0.7449, allocations: 96 kB / 1.452 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007338/0.7523, allocations: 6.254 MB / 1.458 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.7533, allocations: 0.9083 MB / 1.459 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006424/0.754, allocations: 0.5675 MB / 1.46 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002147/0.7562, allocations: 2.225 MB / 1.462 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.7562, allocations: 54.25 kB / 1.462 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=69): time 1.623e-06/0.7562, allocations: 0 / 1.462 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.007859/0.7641, allocations: 3.59 MB / 1.465 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.7641, allocations: 195.6 kB / 1.466 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.7645, allocations: 432.5 kB / 1.466 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.136e-05/0.7646, allocations: 25.7 kB / 1.466 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.7648, allocations: 353.8 kB / 1.466 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.765, allocations: 311 kB / 1.467 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.871e-05/0.7651, allocations: 0 / 1.467 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.7652, allocations: 390.8 kB / 1.467 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000807/0.766, allocations: 0.6438 MB / 1.468 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009313/0.767, allocations: 0.915 MB / 1.469 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.7685, allocations: 0.8677 MB / 1.469 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.7685, allocations: 4 kB / 1.469 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005009/0.7735, allocations: 2.399 MB / 1.472 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007747/0.7743, allocations: 3.137 MB / 1.475 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.7744, allocations: 12 kB / 1.475 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002647/0.777, allocations: 0.6636 MB / 1.476 GB, free: 6.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.7789, allocations: 398.2 kB / 1.476 GB, free: 5.777 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007106/0.786, allocations: 6.925 MB / 1.483 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.7877, allocations: 199.7 kB / 1.483 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.7879, allocations: 62.2 kB / 1.483 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.18e-06/0.7879, allocations: 4 kB / 1.483 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003009/0.7909, allocations: 1.782 MB / 1.485 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.7909, allocations: 8 kB / 1.485 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005496/0.7915, allocations: 220.4 kB / 1.485 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002049/0.7935, allocations: 431 kB / 1.485 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/0.7965, allocations: 3.681 MB / 1.489 GB, free: 9.824 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.7981, allocations: 191.7 kB / 1.489 GB, free: 9.637 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.7982, allocations: 60.2 kB / 1.489 GB, free: 9.586 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * 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.0002105/0.7984, allocations: 132.5 kB / 1.489 GB, free: 9.453 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.7986, allocations: 71.16 kB / 1.489 GB, free: 9.383 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005294/0.8039, allocations: 2.345 MB / 1.492 GB, free: 7.562 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/0.804, allocations: 12 kB / 1.492 GB, free: 7.551 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.804, allocations: 7.984 kB / 1.492 GB, free: 7.543 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.804, allocations: 11.89 kB / 1.492 GB, free: 7.531 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006851/0.8109, allocations: 4.106 MB / 1.496 GB, free: 3.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.8109, allocations: 8 kB / 1.496 GB, free: 3.742 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/0.8124, allocations: 296.1 kB / 1.496 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002831/0.8153, allocations: 0.7914 MB / 1.497 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.984e-05/0.8154, allocations: 27.95 kB / 1.497 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007811/0.8232, allocations: 7.915 MB / 1.504 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.8232, allocations: 11.94 kB / 1.504 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004684/0.8279, allocations: 2.691 MB / 1.507 GB, free: 7.309 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004221/0.8283, allocations: 316 kB / 1.507 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.8285, allocations: 15.89 kB / 1.507 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/0.8302, allocations: 207.7 kB / 1.508 GB, free: 6.762 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.8303, allocations: 59.77 kB / 1.508 GB, free: 6.703 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-05/0.8304, allocations: 43.97 kB / 1.508 GB, free: 6.66 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.0003025/0.8307, allocations: 330.9 kB / 1.508 GB, free: 6.336 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001326/0.8321, allocations: 439.9 kB / 1.508 GB, free: 5.906 MB / 0.9167 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 () * 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.0001881/0.8323, allocations: 127.7 kB / 1.509 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004488/0.8367, allocations: 3.109 MB / 1.512 GB, free: 2.617 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8368, allocations: 4 kB / 1.512 GB, free: 2.613 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/0.8385, allocations: 1.273 MB / 1.513 GB, free: 1.301 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.839, allocations: 83.22 kB / 1.513 GB, free: 1.223 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007293/0.8463, allocations: 2.382 MB / 1.515 GB, free: 14.74 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009308/0.8473, allocations: 1.128 MB / 1.516 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of SimCode: time 2.8e-07/0.8473, allocations: 4 kB / 1.516 GB, free: 13.58 MB / 0.9323 GB Notification: Performance of Templates: time 0.03192/0.8792, allocations: 27.96 MB / 1.544 GB, free: 1.652 MB / 0.948 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","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches