Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.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.Conversion.Examples.TransformerStepDownDY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY") [: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.117/2.117, allocations: 284.9 MB / 292.2 MB, free: 10.71 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.001571/0.001571, allocations: 181.3 kB / 360.4 MB, free: 7.48 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.608/1.608, allocations: 205.1 MB / 0.6188 GB, free: 12.4 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.001225/0.001224, allocations: 93.48 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.626e-06/8.767e-06, allocations: 0 / 0.8503 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5396/0.5396, allocations: 115.2 MB / 0.9628 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2918/0.8314, allocations: 186.6 MB / 1.145 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/0.8318, allocations: 92.73 kB / 1.145 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.4147/1.247, allocations: 104.7 MB / 1.247 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001888/1.247, allocations: 63.98 kB / 1.247 GB, free: 8.43 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: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.008523/1.255, allocations: 2.467 MB / 1.25 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.255, allocations: 8.031 kB / 1.25 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02081/1.276, allocations: 1.518 MB / 1.251 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005655/1.282, allocations: 1.721 MB / 1.253 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/1.282, allocations: 99.94 kB / 1.253 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008259/1.283, allocations: 172 kB / 1.253 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3853/1.668, allocations: 4.198 MB / 1.257 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01374/1.682, allocations: 4.621 MB / 1.262 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.3e-05/1.682, allocations: 2.719 kB / 1.262 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005659/1.683, allocations: 3.25 kB / 1.262 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004258/1.683, allocations: 192.2 kB / 1.262 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03666/1.72, allocations: 22.53 MB / 1.284 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/1.722, allocations: 1.2 MB / 1.285 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002652/1.725, allocations: 1.23 MB / 1.286 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002679/1.725, allocations: 128.1 kB / 1.287 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/1.725, allocations: 48.91 kB / 1.287 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=123): time 4.859e-06/1.725, allocations: 0 / 1.287 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=153): time 0.02341/1.749, allocations: 7.419 MB / 1.294 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/1.749, allocations: 224.8 kB / 1.294 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/1.751, allocations: 0.9329 MB / 1.295 GB, free: 154 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004047/1.751, allocations: 29.64 kB / 1.295 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006254/1.752, allocations: 1.198 MB / 1.296 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006627/1.753, allocations: 0.5121 MB / 1.297 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/1.753, allocations: 0 / 1.297 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001951/1.753, allocations: 433.2 kB / 1.297 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003129/1.756, allocations: 1.351 MB / 1.298 GB, free: 152.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003513/1.76, allocations: 2.019 MB / 1.3 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006136/1.766, allocations: 1.993 MB / 1.302 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.627e-05/1.766, allocations: 3.969 kB / 1.302 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01419/1.78, allocations: 4.37 MB / 1.307 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001644/1.782, allocations: 8.432 MB / 1.315 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.773e-05/1.782, allocations: 24.16 kB / 1.315 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003962/1.786, allocations: 0.7672 MB / 1.316 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007025/1.793, allocations: 0.6617 MB / 1.316 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/1.811, allocations: 11.72 MB / 1.328 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005997/1.817, allocations: 299.7 kB / 1.328 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004545/1.817, allocations: 120.7 kB / 1.328 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/1.817, allocations: 3.969 kB / 1.328 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01246/1.83, allocations: 4.098 MB / 1.332 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.66e-05/1.83, allocations: 27.28 kB / 1.332 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00284/1.833, allocations: 0.6609 MB / 1.333 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006842/1.84, allocations: 0.6632 MB / 1.333 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/1.854, allocations: 11.32 MB / 1.344 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005691/1.86, allocations: 280.5 kB / 1.345 GB, free: 128 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003854/1.86, allocations: 114.2 kB / 1.345 GB, free: 128 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 234 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007121/1.861, allocations: 180.9 kB / 1.345 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005438/1.862, allocations: 116.4 kB / 1.345 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/1.874, allocations: 3.867 MB / 1.349 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.815e-05/1.874, allocations: 18.64 kB / 1.349 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-05/1.874, allocations: 9.062 kB / 1.349 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/1.874, allocations: 14.94 kB / 1.349 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01962/1.894, allocations: 6.796 MB / 1.356 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/1.894, allocations: 5.25 kB / 1.356 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005207/1.899, allocations: 426.9 kB / 1.356 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/1.902, allocations: 0.6263 MB / 1.357 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000271/1.903, allocations: 30.92 kB / 1.357 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01534/1.918, allocations: 11.12 MB / 1.368 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/1.918, allocations: 10.91 kB / 1.368 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009553/1.928, allocations: 3.712 MB / 1.371 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/1.929, allocations: 0.4933 MB / 1.372 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004458/1.93, allocations: 10.92 kB / 1.372 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005178/1.935, allocations: 255.6 kB / 1.372 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002744/1.935, allocations: 93.42 kB / 1.372 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002332/1.935, allocations: 62.69 kB / 1.372 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001464/1.937, allocations: 0.7201 MB / 1.373 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005338/1.942, allocations: 1.047 MB / 1.374 GB, free: 117.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004461/1.943, allocations: 142.2 kB / 1.374 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01562/1.958, allocations: 6.318 MB / 1.38 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/1.958, allocations: 1.031 kB / 1.38 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00563/1.964, allocations: 2.099 MB / 1.382 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/1.966, allocations: 128.3 kB / 1.382 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03079/1.996, allocations: 5.624 MB / 1.388 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00483/2.001, allocations: 2.496 MB / 1.39 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.503e-06/2.001, allocations: 0 / 1.39 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.1017/2.103, allocations: 48.33 MB / 1.437 GB, free: 72.37 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1)