Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.151/2.151, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001532, allocations: 185.2 kB / 360.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.1 MB / 0.6188 GB, free: 12.45 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 88.7 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.127e-06/9.227e-06, allocations: 0 / 0.8503 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5184/0.5184, allocations: 115.2 MB / 0.9628 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/0.7458, allocations: 160.4 MB / 1.119 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003803/0.7462, allocations: 93.28 kB / 1.12 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.06672/0.8129, allocations: 17.23 MB / 1.136 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.225e-05/0.813, allocations: 4 kB / 1.136 GB, free: 10.95 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001489/0.8145, allocations: 0.6171 MB / 1.137 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.8145, allocations: 8.531 kB / 1.137 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.8158, allocations: 107.4 kB / 1.137 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.8163, allocations: 278.3 kB / 1.137 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.8163, allocations: 8 kB / 1.137 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.088e-05/0.8164, allocations: 12 kB / 1.137 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007366/0.8171, allocations: 257.7 kB / 1.138 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007678/0.8179, allocations: 349.3 kB / 1.138 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.818, allocations: 3.938 kB / 1.138 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.388e-05/0.818, allocations: 0 / 1.138 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.258e-05/0.8181, allocations: 24.36 kB / 1.138 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002865/0.821, allocations: 1.615 MB / 1.14 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008065/0.8218, allocations: 329.5 kB / 1.14 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/0.8222, allocations: 164 kB / 1.14 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.8224, allocations: 93.08 kB / 1.14 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004857/0.8229, allocations: 210.4 kB / 1.14 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 3.757e-06/0.8229, allocations: 4 kB / 1.14 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.00137/0.8243, allocations: 430.6 kB / 1.141 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.8243, allocations: 89.09 kB / 1.141 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.8246, allocations: 183.1 kB / 1.141 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.423e-05/0.8246, allocations: 29.7 kB / 1.141 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.8248, allocations: 156 kB / 1.141 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.8249, allocations: 86.75 kB / 1.141 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.8249, allocations: 4.094 kB / 1.141 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.8251, allocations: 334.7 kB / 1.142 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.8254, allocations: 133 kB / 1.142 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.8258, allocations: 197.4 kB / 1.142 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005112/0.8264, allocations: 172.1 kB / 1.142 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8264, allocations: 0 / 1.142 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001277/0.8277, allocations: 431.4 kB / 1.142 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003144/0.828, allocations: 0.8697 MB / 1.143 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.828, allocations: 3.938 kB / 1.143 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003092/0.8283, allocations: 49.47 kB / 1.143 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007937/0.8291, allocations: 87.88 kB / 1.143 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.8309, allocations: 1.404 MB / 1.145 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006227/0.8316, allocations: 51.91 kB / 1.145 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.8316, allocations: 15.91 kB / 1.145 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.8316, allocations: 5.562 kB / 1.145 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001048/0.8327, allocations: 358.4 kB / 1.145 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.8327, allocations: 8.781 kB / 1.145 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/0.8329, allocations: 40.83 kB / 1.145 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006885/0.8336, allocations: 88.12 kB / 1.145 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.8352, allocations: 1.4 MB / 1.147 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/0.8358, allocations: 51.81 kB / 1.147 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.317e-05/0.8358, allocations: 12 kB / 1.147 GB, free: 15.58 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.836, allocations: 119.6 kB / 1.147 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.8361, allocations: 23.72 kB / 1.147 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.8372, allocations: 393.6 kB / 1.147 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.8373, allocations: 4 kB / 1.147 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.8373, allocations: 0 / 1.147 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.8373, allocations: 7.984 kB / 1.147 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008772/0.8382, allocations: 0.5159 MB / 1.148 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.8382, allocations: 3.906 kB / 1.148 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007399/0.839, allocations: 80.48 kB / 1.148 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001967/0.8392, allocations: 40.86 kB / 1.148 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.8392, allocations: 4 kB / 1.148 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.8406, allocations: 1.334 MB / 1.149 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.8406, allocations: 0 / 1.149 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001043/0.8417, allocations: 0.5034 MB / 1.15 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.8419, allocations: 140.7 kB / 1.15 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-05/0.842, allocations: 0 / 1.15 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/0.8425, allocations: 43.95 kB / 1.15 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.8427, allocations: 27.88 kB / 1.15 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.8427, allocations: 7.984 kB / 1.15 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.000199/0.8429, allocations: 160.5 kB / 1.15 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007931/0.8437, allocations: 123.9 kB / 1.15 GB, free: 11.83 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001962/0.844, allocations: 127.8 kB / 1.15 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001671/0.8456, allocations: 0.7682 MB / 1.151 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.8457, allocations: 4 kB / 1.151 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006669/0.8463, allocations: 282.2 kB / 1.151 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.8468, allocations: 36.83 kB / 1.151 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.8485, allocations: 479.6 kB / 1.152 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005822/0.8491, allocations: 0.8158 MB / 1.153 GB, free: 9.238 MB / 0.7605 GB Notification: Performance of SimCode: time 6.81e-07/0.8491, allocations: 4 kB / 1.153 GB, free: 9.234 MB / 0.7605 GB Notification: Performance of Templates: time 0.01501/0.8641, allocations: 5.682 MB / 1.158 GB, free: 3.656 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)