Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") [: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.688/1.688, 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.0009047/0.0009047, allocations: 192.3 kB / 490.8 MB, free: 1.902 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.052/1.052, allocations: 221.4 MB / 0.7863 GB, free: 13.68 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.0007928/0.0007928, allocations: 94.3 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.15e-06/5.17e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1622, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4765/0.6388, allocations: 191.1 MB / 1.398 GB, free: 9.852 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.639, allocations: 93.69 kB / 1.398 GB, free: 9.801 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.2081/0.8471, allocations: 107.1 MB / 1.503 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.805e-05/0.8472, allocations: 59.98 kB / 1.503 GB, free: 13.57 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.003453/0.8506, allocations: 2.273 MB / 1.505 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.8507, allocations: 8.031 kB / 1.505 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002967/0.8536, allocations: 0.5668 MB / 1.506 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002251/0.8559, allocations: 1.47 MB / 1.507 GB, free: 9.156 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.941e-05/0.856, allocations: 92 kB / 1.507 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003449/0.8563, allocations: 159.9 kB / 1.507 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00454/0.8609, allocations: 3.354 MB / 1.511 GB, free: 5.551 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005242/0.8661, allocations: 3.928 MB / 1.515 GB, free: 1.535 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.562e-05/0.8662, allocations: 4 kB / 1.515 GB, free: 1.531 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/0.8664, allocations: 0 / 1.515 GB, free: 1.531 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.8665, allocations: 156.6 kB / 1.515 GB, free: 1.375 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01667/0.8832, allocations: 19.79 MB / 1.534 GB, free: 11.58 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.8843, allocations: 1.088 MB / 1.535 GB, free: 10.45 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009346/0.8853, allocations: 0.7859 MB / 1.536 GB, free: 9.648 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.8854, allocations: 105.7 kB / 1.536 GB, free: 9.527 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.8855, allocations: 47.16 kB / 1.536 GB, free: 9.473 MB / 0.948 GB Notification: Performance of pre-optimization done (n=77): time 1.914e-06/0.8855, allocations: 4 kB / 1.536 GB, free: 9.469 MB / 0.948 GB Notification: Performance of matching and sorting (n=92): time 0.006831/0.8923, allocations: 3.946 MB / 1.54 GB, free: 5.508 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.8924, allocations: 145.2 kB / 1.54 GB, free: 5.336 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008344/0.8932, allocations: 0.8507 MB / 1.541 GB, free: 4.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/0.8933, allocations: 37.69 kB / 1.541 GB, free: 4.438 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005101/0.8938, allocations: 1.141 MB / 1.542 GB, free: 3.277 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.894, allocations: 323.3 kB / 1.542 GB, free: 2.957 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.998e-05/0.8941, allocations: 0 / 1.542 GB, free: 2.957 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.8942, allocations: 402.7 kB / 1.543 GB, free: 2.555 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.8953, allocations: 0.8746 MB / 1.544 GB, free: 1.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.8966, allocations: 1.51 MB / 1.545 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/0.8991, allocations: 1.466 MB / 1.546 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.8991, allocations: 4 kB / 1.546 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004027/0.9031, allocations: 2.666 MB / 1.549 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002123/0.9053, allocations: 8.336 MB / 1.557 GB, free: 2.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.9053, allocations: 20 kB / 1.557 GB, free: 2.727 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-05/0.9053, allocations: 32 kB / 1.557 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/0.9076, allocations: 0.5031 MB / 1.558 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.719e-05/0.9076, allocations: 47.84 kB / 1.558 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009206/0.9086, allocations: 95.55 kB / 1.558 GB, free: 2.051 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.9087, allocations: 83.98 kB / 1.558 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.129e-06/0.9087, allocations: 4 kB / 1.558 GB, free: 1.965 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003777/0.9125, allocations: 2.513 MB / 1.56 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.9125, allocations: 24 kB / 1.56 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.9126, allocations: 32 kB / 1.56 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/0.9148, allocations: 0.5031 MB / 1.561 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-05/0.9148, allocations: 51.91 kB / 1.561 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007794/0.9156, allocations: 71.75 kB / 1.561 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.9157, allocations: 95.97 kB / 1.561 GB, free: 14.68 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 211 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002046/0.9159, allocations: 152.4 kB / 1.561 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.9161, allocations: 94.88 kB / 1.561 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/0.9191, allocations: 1.97 MB / 1.563 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.9192, allocations: 15.89 kB / 1.563 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9192, allocations: 4 kB / 1.563 GB, free: 12.38 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.9192, allocations: 3.984 kB / 1.563 GB, free: 12.38 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/0.9341, allocations: 15.32 MB / 1.578 GB, free: 11.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.9341, allocations: 20 kB / 1.578 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006815/0.9348, allocations: 195.6 kB / 1.578 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.002e-05/0.9348, allocations: 28 kB / 1.579 GB, free: 11.62 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-05/0.9349, allocations: 31.98 kB / 1.579 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.886e-05/0.9349, allocations: 35.86 kB / 1.579 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.607e-05/0.9349, allocations: 31.88 kB / 1.579 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002471/0.9374, allocations: 3.108 MB / 1.582 GB, free: 7.582 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004327/0.9378, allocations: 347.8 kB / 1.582 GB, free: 7.223 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.938, allocations: 27.98 kB / 1.582 GB, free: 7.195 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007698/0.9388, allocations: 55.94 kB / 1.582 GB, free: 7.141 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.9389, allocations: 103.4 kB / 1.582 GB, free: 7.039 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/0.939, allocations: 51.98 kB / 1.582 GB, free: 6.988 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.0006671/0.9397, allocations: 0.6904 MB / 1.583 GB, free: 6.301 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002188/0.9418, allocations: 0.8007 MB / 1.584 GB, free: 5.5 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 89 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002316/0.9421, allocations: 178.7 kB / 1.584 GB, free: 5.316 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003244/0.9453, allocations: 3.011 MB / 1.587 GB, free: 2.316 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.9454, allocations: 4 kB / 1.587 GB, free: 2.312 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006617/0.946, allocations: 0.63 MB / 1.587 GB, free: 1.688 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008467/0.9469, allocations: 177.3 kB / 1.588 GB, free: 1.516 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/0.9526, allocations: 4.129 MB / 1.592 GB, free: 13.06 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002202/0.9548, allocations: 2.271 MB / 1.594 GB, free: 10.76 MB / 1.01 GB Notification: Performance of SimCode: time 2.5e-07/0.9548, allocations: 4 kB / 1.594 GB, free: 10.75 MB / 1.01 GB Notification: Performance of Templates: time 0.03072/0.9855, allocations: 23.57 MB / 1.617 GB, free: 3.277 MB / 1.026 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches