Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") [: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.107/2.107, allocations: 284.9 MB / 292.2 MB, free: 10.68 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.001602/0.001602, allocations: 177.2 kB / 360.4 MB, free: 7.469 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.591/1.591, allocations: 205.1 MB / 0.6188 GB, free: 12.46 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.001231/0.00123, allocations: 89.12 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.255e-05/1.266e-05, allocations: 4 kB / 0.8503 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5302/0.5303, allocations: 115.2 MB / 0.9628 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2505/0.7808, allocations: 173.8 MB / 1.133 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003573/0.7812, allocations: 97.2 kB / 1.133 GB, free: 14.77 MB / 0.7449 GB Notification: Performance of FrontEnd: time 0.3518/1.133, allocations: 94.81 MB / 1.225 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001405/1.133, allocations: 63.98 kB / 1.225 GB, free: 15.27 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.007147/1.14, allocations: 2.195 MB / 1.227 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/1.14, allocations: 8.031 kB / 1.227 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006861/1.147, allocations: 0.6838 MB / 1.228 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004265/1.152, allocations: 1.457 MB / 1.23 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/1.152, allocations: 80 kB / 1.23 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005788/1.152, allocations: 155.9 kB / 1.23 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008945/1.161, allocations: 3.072 MB / 1.233 GB, free: 7.516 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/1.171, allocations: 3.872 MB / 1.237 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.547e-05/1.172, allocations: 7.938 kB / 1.237 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003949/1.172, allocations: 8 kB / 1.237 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002383/1.172, allocations: 168.3 kB / 1.237 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3127/1.485, allocations: 21.16 MB / 1.257 GB, free: 285.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008885/1.486, allocations: 0.5393 MB / 1.258 GB, free: 284.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000899/1.487, allocations: 0.5112 MB / 1.258 GB, free: 284.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/1.487, allocations: 8.391 kB / 1.258 GB, free: 284.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/1.487, allocations: 49.91 kB / 1.258 GB, free: 284.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=50): time 3.176e-06/1.487, allocations: 0 / 1.258 GB, free: 284.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=56): time 0.006695/1.494, allocations: 3.621 MB / 1.262 GB, free: 283 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/1.494, allocations: 250.2 kB / 1.262 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/1.496, allocations: 1.14 MB / 1.263 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.166e-05/1.496, allocations: 25.7 kB / 1.263 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005723/1.496, allocations: 1.168 MB / 1.265 GB, free: 282 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/1.497, allocations: 202.4 kB / 1.265 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/1.497, allocations: 0 / 1.265 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.497, allocations: 405.3 kB / 1.265 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/1.499, allocations: 0.7738 MB / 1.266 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/1.501, allocations: 1.456 MB / 1.267 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002614/1.503, allocations: 1.136 MB / 1.268 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/1.503, allocations: 13.72 kB / 1.268 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005171/1.508, allocations: 2.281 MB / 1.271 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001787/1.51, allocations: 9.383 MB / 1.28 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.419e-05/1.51, allocations: 25.53 kB / 1.28 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.061e-05/1.51, allocations: 35.16 kB / 1.28 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00321/1.514, allocations: 412 kB / 1.28 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.656e-05/1.514, allocations: 50.94 kB / 1.28 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/1.517, allocations: 171.3 kB / 1.28 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/1.517, allocations: 83.03 kB / 1.281 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/1.517, allocations: 8.922 kB / 1.281 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004312/1.521, allocations: 1.907 MB / 1.282 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/1.521, allocations: 26.97 kB / 1.282 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.152e-05/1.521, allocations: 36.91 kB / 1.282 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002519/1.524, allocations: 385.6 kB / 1.283 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.458e-05/1.524, allocations: 48.33 kB / 1.283 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/1.526, allocations: 110.4 kB / 1.283 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/1.526, allocations: 83.42 kB / 1.283 GB, free: 270.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * 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.0003353/1.526, allocations: 165.6 kB / 1.283 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003986/1.527, allocations: 101.6 kB / 1.283 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/1.529, allocations: 0.8828 MB / 1.284 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/1.529, allocations: 11.14 kB / 1.284 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/1.529, allocations: 3.562 kB / 1.284 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/1.529, allocations: 10.66 kB / 1.284 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/1.543, allocations: 8.024 MB / 1.292 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/1.543, allocations: 13.53 kB / 1.292 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009211/1.544, allocations: 128.7 kB / 1.292 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.201e-05/1.544, allocations: 17.91 kB / 1.292 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.287e-05/1.544, allocations: 20.12 kB / 1.292 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.761e-05/1.544, allocations: 26.98 kB / 1.292 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.434e-05/1.544, allocations: 20.69 kB / 1.292 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002425/1.546, allocations: 2.36 MB / 1.295 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007485/1.547, allocations: 344.1 kB / 1.295 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/1.547, allocations: 22.14 kB / 1.295 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/1.549, allocations: 65.67 kB / 1.295 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/1.549, allocations: 69.72 kB / 1.295 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/1.549, allocations: 32.3 kB / 1.295 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001575/1.551, allocations: 0.8623 MB / 1.296 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003872/1.555, allocations: 0.7459 MB / 1.297 GB, free: 267.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.0002438/1.555, allocations: 147.6 kB / 1.297 GB, free: 267 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00488/1.56, allocations: 2.503 MB / 1.299 GB, free: 267 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.56, allocations: 3.938 kB / 1.299 GB, free: 267 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000871/1.561, allocations: 458.5 kB / 1.3 GB, free: 267 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/1.563, allocations: 206.2 kB / 1.3 GB, free: 267 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008801/1.572, allocations: 3.494 MB / 1.303 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003339/1.575, allocations: 2.135 MB / 1.305 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.184e-06/1.575, allocations: 0 / 1.305 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.05135/1.626, allocations: 21.33 MB / 1.326 GB, free: 264.3 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)