Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [: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.699/1.699, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009031/0.0009031, allocations: 181.2 kB / 490.8 MB, free: 1.949 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.049/1.049, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.0008148/0.0008148, allocations: 102.7 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.54e-06/5.56e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.163, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4747/0.6377, allocations: 191.8 MB / 1.399 GB, free: 9.371 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.638, allocations: 100.5 kB / 1.399 GB, free: 9.316 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.2417/0.8797, allocations: 117.8 MB / 1.514 GB, free: 2.438 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001013/0.8798, allocations: 67.94 kB / 1.514 GB, free: 2.371 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.005147/0.885, allocations: 2.438 MB / 1.516 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.885, allocations: 8.031 kB / 1.516 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00352/0.8885, allocations: 0.6522 MB / 1.517 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002826/0.8914, allocations: 1.617 MB / 1.519 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.809e-05/0.8915, allocations: 92 kB / 1.519 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004622/0.892, allocations: 164 kB / 1.519 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005044/0.897, allocations: 3.319 MB / 1.522 GB, free: 9.969 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005851/0.9029, allocations: 4.232 MB / 1.526 GB, free: 5.555 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.795e-05/0.9029, allocations: 7.938 kB / 1.526 GB, free: 5.547 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002491/0.9032, allocations: 7.984 kB / 1.526 GB, free: 5.539 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/0.9033, allocations: 188.6 kB / 1.526 GB, free: 5.352 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01847/0.9218, allocations: 22.14 MB / 1.548 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.9235, allocations: 1.367 MB / 1.549 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.925, allocations: 1.102 MB / 1.551 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.9251, allocations: 101.7 kB / 1.551 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.9252, allocations: 47.22 kB / 1.551 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=72): time 2.355e-06/0.9252, allocations: 0 / 1.551 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75): time 0.003696/0.9289, allocations: 2.995 MB / 1.554 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.9289, allocations: 137.2 kB / 1.554 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008442/0.9298, allocations: 0.8321 MB / 1.555 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.73e-05/0.9298, allocations: 25.7 kB / 1.555 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004944/0.9303, allocations: 1.137 MB / 1.556 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.9305, allocations: 256.2 kB / 1.556 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/0.9306, allocations: 0 / 1.556 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.9308, allocations: 402.6 kB / 1.556 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009009/0.9317, allocations: 0.7834 MB / 1.557 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.9328, allocations: 1.273 MB / 1.558 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.9343, allocations: 1.082 MB / 1.559 GB, free: 1.164 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.9343, allocations: 4 kB / 1.559 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002865/0.9372, allocations: 2.161 MB / 1.561 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001431/0.9386, allocations: 5.487 MB / 1.567 GB, free: 9.074 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.9386, allocations: 16 kB / 1.567 GB, free: 9.059 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.9387, allocations: 20 kB / 1.567 GB, free: 9.039 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.9402, allocations: 379.4 kB / 1.567 GB, free: 8.668 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/0.9402, allocations: 31.86 kB / 1.567 GB, free: 8.637 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.9415, allocations: 167.4 kB / 1.567 GB, free: 8.473 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.9416, allocations: 55.98 kB / 1.567 GB, free: 8.418 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 5.571e-06/0.9416, allocations: 4 kB / 1.567 GB, free: 8.414 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002258/0.9439, allocations: 1.711 MB / 1.569 GB, free: 6.703 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.9439, allocations: 16 kB / 1.569 GB, free: 6.688 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.9439, allocations: 20 kB / 1.569 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.9452, allocations: 352 kB / 1.57 GB, free: 6.324 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.9452, allocations: 31.86 kB / 1.57 GB, free: 6.293 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008411/0.9461, allocations: 115.5 kB / 1.57 GB, free: 6.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.9462, allocations: 55.94 kB / 1.57 GB, free: 6.125 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.0001797/0.9464, allocations: 152.4 kB / 1.57 GB, free: 5.969 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.9465, allocations: 90.88 kB / 1.57 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.9486, allocations: 1.566 MB / 1.571 GB, free: 4.297 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.9486, allocations: 8 kB / 1.571 GB, free: 4.289 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-06/0.9487, allocations: 8 kB / 1.571 GB, free: 4.281 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.9487, allocations: 3.984 kB / 1.571 GB, free: 4.277 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007977/0.9566, allocations: 7.159 MB / 1.578 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.9567, allocations: 11.91 kB / 1.578 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.9577, allocations: 231.6 kB / 1.579 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/0.9577, allocations: 16 kB / 1.579 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.9578, allocations: 12 kB / 1.579 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.245e-05/0.9578, allocations: 24.05 kB / 1.579 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.9578, allocations: 11.94 kB / 1.579 GB, free: 12.58 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002264/0.9601, allocations: 2.509 MB / 1.581 GB, free: 9.695 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005361/0.9606, allocations: 367.7 kB / 1.582 GB, free: 9.316 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.9608, allocations: 15.98 kB / 1.582 GB, free: 9.301 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008183/0.9616, allocations: 83.89 kB / 1.582 GB, free: 9.219 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.9618, allocations: 71.69 kB / 1.582 GB, free: 9.148 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.269e-05/0.9618, allocations: 28 kB / 1.582 GB, free: 9.121 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.0006326/0.9625, allocations: 0.6162 MB / 1.582 GB, free: 8.512 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002001/0.9645, allocations: 0.7656 MB / 1.583 GB, free: 7.746 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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.0001887/0.9647, allocations: 136.3 kB / 1.583 GB, free: 7.605 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002942/0.9676, allocations: 2.655 MB / 1.586 GB, free: 4.953 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9676, allocations: 320 / 1.586 GB, free: 4.953 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008342/0.9685, allocations: 0.753 MB / 1.587 GB, free: 4.199 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.9696, allocations: 241.8 kB / 1.587 GB, free: 3.969 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00569/0.9753, allocations: 3.907 MB / 1.591 GB, free: 15.88 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002272/0.9775, allocations: 2.267 MB / 1.593 GB, free: 13.58 MB / 1.01 GB Notification: Performance of SimCode: time 2.5e-07/0.9776, allocations: 0 / 1.593 GB, free: 13.58 MB / 1.01 GB Notification: Performance of Templates: time 0.0308/1.008, allocations: 23.89 MB / 1.616 GB, free: 5.844 MB / 1.026 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches