Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") [: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 9.1.1-maint.9.1.x/package.mo): time 1.764/1.764, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.000951/0.000951, allocations: 177.3 kB / 487 MB, free: 5.352 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.134/1.134, allocations: 221.3 MB / 0.7819 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008017/0.0008017, allocations: 93.94 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.001e-06/6.031e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1847, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5293/0.7139, allocations: 167.3 MB / 1.369 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.7142, allocations: 95.25 kB / 1.369 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.07468/0.7889, allocations: 37.16 MB / 1.405 GB, free: 9.305 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.407e-05/0.789, allocations: 20 kB / 1.405 GB, free: 9.285 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.001764/0.7907, allocations: 1.174 MB / 1.406 GB, free: 8.129 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.7908, allocations: 8.031 kB / 1.406 GB, free: 8.121 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.7922, allocations: 246.5 kB / 1.406 GB, free: 7.879 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.7932, allocations: 0.7165 MB / 1.407 GB, free: 7.293 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.7933, allocations: 40 kB / 1.407 GB, free: 7.254 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.7934, allocations: 72 kB / 1.407 GB, free: 7.184 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002053/0.7955, allocations: 1.521 MB / 1.409 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/0.7978, allocations: 1.771 MB / 1.41 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.7979, allocations: 3.938 kB / 1.41 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.798, allocations: 8 kB / 1.41 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.544e-05/0.798, allocations: 57.25 kB / 1.41 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007029/0.8051, allocations: 7.863 MB / 1.418 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.8052, allocations: 131.8 kB / 1.418 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.527e-05/0.8053, allocations: 77.2 kB / 1.418 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.341e-05/0.8054, allocations: 88.78 kB / 1.418 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.8054, allocations: 42.5 kB / 1.418 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 2.504e-06/0.8054, allocations: 0 / 1.418 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0005202/0.8059, allocations: 260.8 kB / 1.419 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.806, allocations: 132.5 kB / 1.419 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008084/0.8068, allocations: 0.8249 MB / 1.42 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.8068, allocations: 33.7 kB / 1.42 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.8072, allocations: 0.7432 MB / 1.42 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.8072, allocations: 50.22 kB / 1.42 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.8073, allocations: 0 / 1.42 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.8074, allocations: 374.8 kB / 1.421 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.8078, allocations: 415.5 kB / 1.421 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00076/0.8086, allocations: 1.145 MB / 1.422 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009915/0.8096, allocations: 0.815 MB / 1.423 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.8096, allocations: 8 kB / 1.423 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001922/0.8115, allocations: 1.458 MB / 1.425 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.8115, allocations: 8 kB / 1.425 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.8116, allocations: 27.98 kB / 1.425 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.772e-05/0.8116, allocations: 40 kB / 1.425 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007321/0.8124, allocations: 277.1 kB / 1.425 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.999e-05/0.8124, allocations: 52.39 kB / 1.425 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006892/0.8131, allocations: 166.2 kB / 1.425 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.315e-05/0.8132, allocations: 70.06 kB / 1.425 GB, free: 7.27 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 147 * 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.0001241/0.8133, allocations: 164.1 kB / 1.425 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.8134, allocations: 59.34 kB / 1.425 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.8137, allocations: 150.4 kB / 1.426 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.8137, allocations: 0 / 1.426 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.8137, allocations: 0 / 1.426 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.8137, allocations: 4 kB / 1.426 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/0.8143, allocations: 0.5062 MB / 1.426 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.8143, allocations: 4.062 kB / 1.426 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.8144, allocations: 7.984 kB / 1.426 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8144, allocations: 4 kB / 1.426 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.8144, allocations: 0 / 1.426 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.8144, allocations: 0 / 1.426 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.8144, allocations: 4 kB / 1.426 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002152/0.8146, allocations: 393.2 kB / 1.426 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.8148, allocations: 156.7 kB / 1.427 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.013e-05/0.8149, allocations: 3.938 kB / 1.427 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.8151, allocations: 7.984 kB / 1.427 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.8152, allocations: 4 kB / 1.427 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.8152, allocations: 0 / 1.427 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0005694/0.8157, allocations: 0.6292 MB / 1.427 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009055/0.8167, allocations: 271 kB / 1.427 GB, free: 5.141 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001351/0.8168, allocations: 111.2 kB / 1.428 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000711/0.8175, allocations: 0.673 MB / 1.428 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.8175, allocations: 1.625 kB / 1.428 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-05/0.8176, allocations: 23.3 kB / 1.428 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.8178, allocations: 41.91 kB / 1.428 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.8197, allocations: 1.306 MB / 1.43 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009409/0.8206, allocations: 1.363 MB / 1.431 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of SimCode: time 3.41e-07/0.8206, allocations: 0 / 1.431 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of Templates: time 0.01061/0.8313, allocations: 5.689 MB / 1.436 GB, free: 12.38 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches