Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.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.BalancedStepDown.YY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.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.337/1.337, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.000964/0.0009639, allocations: 185.2 kB / 366.3 MB, free: 2.016 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.9873/0.9873, allocations: 205.1 MB / 0.6256 GB, free: 7.531 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.0007496/0.0007496, allocations: 90.28 kB / 0.7395 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.344e-06/7.384e-06, allocations: 4 kB / 0.8591 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3974, allocations: 116.3 MB / 0.9726 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1764/0.5738, allocations: 199.3 MB / 1.167 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.5741, allocations: 111.9 kB / 1.167 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 0.5805/1.155, allocations: 153.9 MB / 1.318 GB, free: 201 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001143/1.155, allocations: 77.78 kB / 1.318 GB, free: 201 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.006522/1.161, allocations: 3.195 MB / 1.321 GB, free: 199.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/1.161, allocations: 9.562 kB / 1.321 GB, free: 199.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/1.173, allocations: 1.78 MB / 1.323 GB, free: 199.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00533/1.179, allocations: 2.328 MB / 1.325 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/1.179, allocations: 125.7 kB / 1.325 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009146/1.18, allocations: 222.2 kB / 1.325 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008665/1.189, allocations: 5.263 MB / 1.33 GB, free: 196 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008593/1.197, allocations: 6.043 MB / 1.336 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.677e-05/1.197, allocations: 10.69 kB / 1.336 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004039/1.198, allocations: 3.031 kB / 1.336 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003965/1.198, allocations: 325.1 kB / 1.337 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02571/1.224, allocations: 28.34 MB / 1.364 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/1.227, allocations: 2.518 MB / 1.367 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/1.229, allocations: 1.628 MB / 1.368 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/1.229, allocations: 131.6 kB / 1.368 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/1.229, allocations: 62.48 kB / 1.368 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=176): time 3.136e-06/1.229, allocations: 0 / 1.368 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=221): time 0.02594/1.255, allocations: 13.24 MB / 1.381 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/1.255, allocations: 227.6 kB / 1.382 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/1.256, allocations: 1.358 MB / 1.383 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001698/1.256, allocations: 25.7 kB / 1.383 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/1.257, allocations: 1.615 MB / 1.385 GB, free: 155.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004281/1.257, allocations: 0.7353 MB / 1.385 GB, free: 154.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/1.257, allocations: 0 / 1.385 GB, free: 154.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.258, allocations: 432.5 kB / 1.386 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/1.26, allocations: 1.974 MB / 1.388 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002305/1.262, allocations: 3.067 MB / 1.391 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004043/1.266, allocations: 2.898 MB / 1.393 GB, free: 146 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/1.266, allocations: 12 kB / 1.393 GB, free: 146 MB / 0.8542 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01274/1.279, allocations: 7.458 MB / 1.401 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001661/1.28, allocations: 14.08 MB / 1.414 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/1.28, allocations: 36 kB / 1.414 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0108/1.291, allocations: 3.166 MB / 1.418 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003525/1.295, allocations: 0.8267 MB / 1.418 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/1.311, allocations: 11.02 MB / 1.429 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00391/1.314, allocations: 362.8 kB / 1.429 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004194/1.315, allocations: 203.9 kB / 1.43 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/1.315, allocations: 4 kB / 1.43 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007115/1.322, allocations: 5.041 MB / 1.435 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/1.322, allocations: 36 kB / 1.435 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.015e-05/1.322, allocations: 56 kB / 1.435 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004817/1.327, allocations: 1.093 MB / 1.436 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.63e-05/1.327, allocations: 81.73 kB / 1.436 GB, free: 101.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/1.33, allocations: 319.1 kB / 1.436 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/1.33, allocations: 199.9 kB / 1.436 GB, free: 100.7 MB / 0.8542 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.0005474/1.331, allocations: 209.4 kB / 1.437 GB, free: 100.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004482/1.331, allocations: 185.8 kB / 1.437 GB, free: 100.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/1.344, allocations: 6.656 MB / 1.443 GB, free: 93.67 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/1.344, allocations: 24 kB / 1.443 GB, free: 93.64 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/1.344, allocations: 8 kB / 1.443 GB, free: 93.64 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.146e-05/1.344, allocations: 15.95 kB / 1.443 GB, free: 93.62 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/1.362, allocations: 11.29 MB / 1.454 GB, free: 82.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.362, allocations: 11.94 kB / 1.454 GB, free: 82.22 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002604/1.365, allocations: 0.5073 MB / 1.455 GB, free: 81.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01186/1.377, allocations: 3.642 MB / 1.458 GB, free: 78.07 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002384/1.377, allocations: 51.92 kB / 1.458 GB, free: 78.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01489/1.392, allocations: 10.86 MB / 1.469 GB, free: 67.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.392, allocations: 11.94 kB / 1.469 GB, free: 67 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01135/1.403, allocations: 7.061 MB / 1.476 GB, free: 59.56 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/1.404, allocations: 0.6703 MB / 1.477 GB, free: 58.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004178/1.405, allocations: 15.88 kB / 1.477 GB, free: 58.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003028/1.408, allocations: 341 kB / 1.477 GB, free: 58.53 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/1.408, allocations: 149.5 kB / 1.477 GB, free: 58.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/1.408, allocations: 115.9 kB / 1.477 GB, free: 58.27 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001041/1.409, allocations: 1.006 MB / 1.478 GB, free: 57.26 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004133/1.413, allocations: 1.41 MB / 1.48 GB, free: 55.85 MB / 0.8542 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.0003379/1.414, allocations: 158.8 kB / 1.48 GB, free: 55.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01024/1.424, allocations: 7.682 MB / 1.487 GB, free: 48.01 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.424, allocations: 0 / 1.487 GB, free: 48.01 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004776/1.429, allocations: 2.717 MB / 1.49 GB, free: 45.29 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/1.43, allocations: 154.5 kB / 1.49 GB, free: 45.14 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/1.448, allocations: 7.436 MB / 1.497 GB, free: 37.56 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002998/1.451, allocations: 3.124 MB / 1.5 GB, free: 34.4 MB / 0.8542 GB Notification: Performance of SimCode: time 7.82e-07/1.451, allocations: 4 kB / 1.5 GB, free: 34.39 MB / 0.8542 GB Notification: Performance of Templates: time 0.08331/1.534, allocations: 66.92 MB / 1.566 GB, free: 15.71 MB / 0.9011 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe 2>&1)