Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") [: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 7.0.3-maint.7.0.x/package.mo): time 1.262/1.262, allocations: 249.4 MB / 256.7 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 180.2 kB / 316 MB, free: 3.574 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.203/1.203, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008897/0.0008897, allocations: 85.64 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.895e-06/7.915e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1945, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6046/0.7992, allocations: 168.7 MB / 1.049 GB, free: 3.941 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.7995, allocations: 98.55 kB / 1.049 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.2158/1.015, allocations: 94.82 MB / 1.142 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001066/1.015, allocations: 55.98 kB / 1.142 GB, free: 14.87 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.004299/1.02, allocations: 2.183 MB / 1.144 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/1.02, allocations: 8.031 kB / 1.144 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004151/1.024, allocations: 0.6877 MB / 1.145 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/1.027, allocations: 1.465 MB / 1.146 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.578e-05/1.027, allocations: 80 kB / 1.146 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003799/1.027, allocations: 148 kB / 1.147 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004933/1.032, allocations: 3.076 MB / 1.15 GB, free: 7.117 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005621/1.038, allocations: 3.88 MB / 1.153 GB, free: 3.039 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.958e-05/1.038, allocations: 11.84 kB / 1.153 GB, free: 3.027 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/1.038, allocations: 8 kB / 1.153 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/1.038, allocations: 164.3 kB / 1.154 GB, free: 2.859 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02266/1.061, allocations: 21.17 MB / 1.174 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/1.061, allocations: 0.5357 MB / 1.175 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005626/1.062, allocations: 0.5025 MB / 1.175 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/1.062, allocations: 15.98 kB / 1.175 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/1.062, allocations: 46.5 kB / 1.175 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=50): time 2.986e-06/1.062, allocations: 0 / 1.175 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=56): time 0.004941/1.067, allocations: 3.622 MB / 1.179 GB, free: 6.82 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.445e-05/1.067, allocations: 235.3 kB / 1.179 GB, free: 6.535 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/1.069, allocations: 1.15 MB / 1.18 GB, free: 5.363 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/1.069, allocations: 25.7 kB / 1.18 GB, free: 5.332 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006149/1.069, allocations: 1.159 MB / 1.181 GB, free: 4.152 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/1.069, allocations: 201.3 kB / 1.182 GB, free: 3.953 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.896e-05/1.069, allocations: 0 / 1.182 GB, free: 3.953 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001821/1.07, allocations: 418.8 kB / 1.182 GB, free: 3.535 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000951/1.071, allocations: 0.7652 MB / 1.183 GB, free: 2.77 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/1.072, allocations: 1.458 MB / 1.184 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/1.074, allocations: 1.143 MB / 1.185 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/1.074, allocations: 8 kB / 1.185 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003261/1.077, allocations: 2.286 MB / 1.187 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003129/1.08, allocations: 9.371 MB / 1.197 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.431e-05/1.08, allocations: 27.91 kB / 1.197 GB, free: 3.395 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-05/1.08, allocations: 40 kB / 1.197 GB, free: 3.355 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/1.082, allocations: 411.3 kB / 1.197 GB, free: 2.953 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.56e-05/1.082, allocations: 51.8 kB / 1.197 GB, free: 2.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/1.083, allocations: 167.4 kB / 1.197 GB, free: 2.738 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/1.084, allocations: 83.98 kB / 1.197 GB, free: 2.656 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/1.084, allocations: 4 kB / 1.197 GB, free: 2.652 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002701/1.086, allocations: 1.91 MB / 1.199 GB, free: 0.7383 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/1.086, allocations: 24 kB / 1.199 GB, free: 0.7148 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.039e-05/1.086, allocations: 36 kB / 1.199 GB, free: 0.6797 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/1.088, allocations: 383.3 kB / 1.2 GB, free: 312 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.132e-05/1.088, allocations: 56.36 kB / 1.2 GB, free: 256 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/1.089, allocations: 111.5 kB / 1.2 GB, free: 144 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.089, allocations: 79.98 kB / 1.2 GB, free: 64 kB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * 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.0002678/1.089, allocations: 164.3 kB / 1.2 GB, free: 15.89 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/1.09, allocations: 98.78 kB / 1.2 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/1.091, allocations: 0.8897 MB / 1.201 GB, free: 14.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.091, allocations: 8 kB / 1.201 GB, free: 14.89 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.091, allocations: 4 kB / 1.201 GB, free: 14.89 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/1.091, allocations: 3.984 kB / 1.201 GB, free: 14.89 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009506/1.1, allocations: 8.03 MB / 1.209 GB, free: 6.648 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/1.1, allocations: 12 kB / 1.209 GB, free: 6.637 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004851/1.101, allocations: 123.8 kB / 1.209 GB, free: 6.516 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-05/1.101, allocations: 23.94 kB / 1.209 GB, free: 6.492 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/1.101, allocations: 16 kB / 1.209 GB, free: 6.477 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.758e-05/1.101, allocations: 24.55 kB / 1.209 GB, free: 6.453 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/1.101, allocations: 19.94 kB / 1.209 GB, free: 6.434 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001968/1.103, allocations: 2.372 MB / 1.211 GB, free: 3.562 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005771/1.104, allocations: 343.6 kB / 1.212 GB, free: 3.207 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/1.104, allocations: 19.98 kB / 1.212 GB, free: 3.188 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009438/1.105, allocations: 63.91 kB / 1.212 GB, free: 3.125 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.271e-05/1.105, allocations: 75.64 kB / 1.212 GB, free: 3.051 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/1.105, allocations: 28 kB / 1.212 GB, free: 3.023 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.00106/1.106, allocations: 0.868 MB / 1.213 GB, free: 2.145 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003093/1.109, allocations: 0.7499 MB / 1.213 GB, free: 1.395 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.0002641/1.109, allocations: 134.9 kB / 1.214 GB, free: 1.25 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003522/1.113, allocations: 2.509 MB / 1.216 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.113, allocations: 0 / 1.216 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005322/1.113, allocations: 457.1 kB / 1.216 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/1.115, allocations: 218.7 kB / 1.217 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007159/1.122, allocations: 3.495 MB / 1.22 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002404/1.124, allocations: 2.143 MB / 1.222 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of SimCode: time 1.122e-06/1.124, allocations: 3.828 kB / 1.222 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of Templates: time 0.03612/1.161, allocations: 21.32 MB / 1.243 GB, free: 2.941 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches