Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY") [: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 8.1.4-maint.8.1.x/package.mo): time 1.32/1.32, allocations: 289.8 MB / 297 MB, free: 6.582 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009007/0.0009007, allocations: 181.2 kB / 366.3 MB, free: 1.953 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9634/0.9634, allocations: 205.1 MB / 0.6256 GB, free: 5.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007854/0.0007854, allocations: 93.2 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.422e-06/6.442e-06, allocations: 4 kB / 0.859 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3821, allocations: 116.3 MB / 0.9726 GB, free: 68.71 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.177/0.5592, allocations: 200.3 MB / 1.168 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.5594, allocations: 115.9 kB / 1.168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 0.6123/1.172, allocations: 165.4 MB / 1.33 GB, free: 122.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001016/1.172, allocations: 79.91 kB / 1.33 GB, free: 122.9 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.004641/1.177, allocations: 3.216 MB / 1.333 GB, free: 119.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/1.177, allocations: 12.03 kB / 1.333 GB, free: 119.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/1.188, allocations: 1.96 MB / 1.335 GB, free: 117.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/1.192, allocations: 2.333 MB / 1.337 GB, free: 116.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.418e-05/1.192, allocations: 132 kB / 1.337 GB, free: 116 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000558/1.192, allocations: 227.6 kB / 1.338 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006455/1.199, allocations: 5.355 MB / 1.343 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007185/1.206, allocations: 6.148 MB / 1.349 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.917e-05/1.206, allocations: 7.938 kB / 1.349 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000401/1.206, allocations: 7.906 kB / 1.349 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005739/1.207, allocations: 377.9 kB / 1.349 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0214/1.228, allocations: 28.99 MB / 1.378 GB, free: 77.14 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002844/1.231, allocations: 2.511 MB / 1.38 GB, free: 74.57 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/1.233, allocations: 1.618 MB / 1.382 GB, free: 72.93 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/1.233, allocations: 121.6 kB / 1.382 GB, free: 72.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/1.233, allocations: 59.88 kB / 1.382 GB, free: 72.73 MB / 0.823 GB Notification: Performance of pre-optimization done (n=176): time 3.266e-06/1.233, allocations: 0 / 1.382 GB, free: 72.73 MB / 0.823 GB Notification: Performance of matching and sorting (n=221): time 0.02282/1.256, allocations: 12.97 MB / 1.394 GB, free: 59.75 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/1.256, allocations: 227.6 kB / 1.395 GB, free: 59.48 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/1.257, allocations: 1.367 MB / 1.396 GB, free: 58.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001624/1.257, allocations: 29.7 kB / 1.396 GB, free: 58.07 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004454/1.258, allocations: 1.634 MB / 1.398 GB, free: 56.41 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004018/1.258, allocations: 0.7276 MB / 1.398 GB, free: 55.67 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/1.258, allocations: 0 / 1.398 GB, free: 55.67 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.258, allocations: 440.5 kB / 1.399 GB, free: 55.23 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/1.26, allocations: 1.947 MB / 1.401 GB, free: 53.28 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002312/1.263, allocations: 3.055 MB / 1.404 GB, free: 49.72 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003544/1.266, allocations: 2.757 MB / 1.406 GB, free: 46.96 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.266, allocations: 12 kB / 1.406 GB, free: 46.95 MB / 0.823 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01477/1.281, allocations: 7.918 MB / 1.414 GB, free: 39.04 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002524/1.284, allocations: 14.08 MB / 1.428 GB, free: 23.85 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.708e-05/1.284, allocations: 39.91 kB / 1.428 GB, free: 23.81 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01243/1.296, allocations: 3.372 MB / 1.431 GB, free: 20.43 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003312/1.299, allocations: 0.8268 MB / 1.432 GB, free: 19.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/1.314, allocations: 10.81 MB / 1.442 GB, free: 8.645 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003277/1.318, allocations: 378.7 kB / 1.443 GB, free: 8.273 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/1.318, allocations: 163.9 kB / 1.443 GB, free: 8.113 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.18e-06/1.318, allocations: 4 kB / 1.443 GB, free: 8.109 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006047/1.324, allocations: 4.85 MB / 1.448 GB, free: 3.258 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/1.324, allocations: 36 kB / 1.448 GB, free: 3.223 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.542e-05/1.324, allocations: 56 kB / 1.448 GB, free: 3.168 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004852/1.329, allocations: 1.069 MB / 1.449 GB, free: 2.098 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.195e-05/1.329, allocations: 79.72 kB / 1.449 GB, free: 2.02 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/1.332, allocations: 327.1 kB / 1.449 GB, free: 1.699 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002806/1.332, allocations: 160 kB / 1.449 GB, free: 1.543 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 328 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,100.0%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0004263/1.332, allocations: 211.6 kB / 1.45 GB, free: 1.328 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003966/1.333, allocations: 189.8 kB / 1.45 GB, free: 1.141 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01661/1.349, allocations: 7.253 MB / 1.457 GB, free: 9.879 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/1.35, allocations: 24 kB / 1.457 GB, free: 9.855 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/1.35, allocations: 12 kB / 1.457 GB, free: 9.844 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/1.35, allocations: 19.81 kB / 1.457 GB, free: 9.824 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02234/1.372, allocations: 11.8 MB / 1.468 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.372, allocations: 12.94 kB / 1.468 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002693/1.375, allocations: 0.5071 MB / 1.469 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01417/1.389, allocations: 3.856 MB / 1.473 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001953/1.389, allocations: 31.95 kB / 1.473 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02411/1.413, allocations: 15.31 MB / 1.488 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.413, allocations: 11.94 kB / 1.488 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0154/1.429, allocations: 7.656 MB / 1.495 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.43, allocations: 0.6391 MB / 1.496 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004017/1.43, allocations: 15.98 kB / 1.496 GB, free: 1.246 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003168/1.433, allocations: 343.4 kB / 1.496 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/1.434, allocations: 141.5 kB / 1.496 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000207/1.434, allocations: 75.95 kB / 1.496 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001184/1.435, allocations: 1.003 MB / 1.497 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004104/1.439, allocations: 1.488 MB / 1.499 GB, free: 14.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 152 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,100.0%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.000317/1.439, allocations: 154.8 kB / 1.499 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01153/1.451, allocations: 7.542 MB / 1.506 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.451, allocations: 0 / 1.506 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005618/1.457, allocations: 2.843 MB / 1.509 GB, free: 3.648 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009312/1.458, allocations: 155.5 kB / 1.509 GB, free: 3.496 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/1.471, allocations: 6.725 MB / 1.516 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00365/1.474, allocations: 3.149 MB / 1.519 GB, free: 9.441 MB / 0.9011 GB Notification: Performance of SimCode: time 3.61e-07/1.474, allocations: 0 / 1.519 GB, free: 9.441 MB / 0.9011 GB Notification: Performance of Templates: time 0.08608/1.561, allocations: 67.71 MB / 1.585 GB, free: 5.832 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe 2>&1)