Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [: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 7.0.1/package.mo): time 2.25/2.25, allocations: 253.1 MB / 260.4 MB, free: 7.656 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002175/0.002175, allocations: 185 kB / 319.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.864/1.864, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001309/0.001308, allocations: 98.94 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.407e-06/9.558e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2165, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7587/0.9752, allocations: 179.7 MB / 1.064 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003856/0.9757, allocations: 97.19 kB / 1.064 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.762/2.738, allocations: 317 MB / 1.373 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0008029/2.738, allocations: 170.6 kB / 1.373 GB, free: 159.6 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.03064/2.769, allocations: 5.596 MB / 1.379 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/2.769, allocations: 12.16 kB / 1.379 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02446/2.794, allocations: 1.677 MB / 1.381 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0274/2.821, allocations: 5.006 MB / 1.385 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005411/2.822, allocations: 194.4 kB / 1.386 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004149/2.826, allocations: 363.8 kB / 1.386 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02775/2.854, allocations: 7.066 MB / 1.393 GB, free: 155.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04194/2.896, allocations: 9.198 MB / 1.402 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004916/2.896, allocations: 27.7 kB / 1.402 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003489/2.9, allocations: 16 kB / 1.402 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000575/2.9, allocations: 399.5 kB / 1.402 GB, free: 151 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09164/2.992, allocations: 45.34 MB / 1.447 GB, free: 102.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009025/3.001, allocations: 3.726 MB / 1.45 GB, free: 98.59 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008602/3.01, allocations: 3.497 MB / 1.454 GB, free: 95.09 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004914/3.01, allocations: 34.78 kB / 1.454 GB, free: 95.05 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/3.01, allocations: 65.34 kB / 1.454 GB, free: 94.98 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=353): time 6.532e-06/3.01, allocations: 0 / 1.454 GB, free: 94.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=578): time 0.1938/3.204, allocations: 38.12 MB / 1.491 GB, free: 56.68 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/3.204, allocations: 111.9 kB / 1.491 GB, free: 56.55 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004517/3.209, allocations: 1.832 MB / 1.493 GB, free: 54.72 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001558/3.21, allocations: 25.7 kB / 1.493 GB, free: 54.69 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001543/3.212, allocations: 2.177 MB / 1.495 GB, free: 52.48 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.003463/3.216, allocations: 1.878 MB / 1.497 GB, free: 50.57 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/3.217, allocations: 0 / 1.497 GB, free: 50.57 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004891/3.217, allocations: 0.5298 MB / 1.497 GB, free: 50.04 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01027/3.228, allocations: 3.752 MB / 1.501 GB, free: 46.28 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01198/3.24, allocations: 4.837 MB / 1.506 GB, free: 41.02 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0159/3.256, allocations: 4.594 MB / 1.51 GB, free: 36.38 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.581e-05/3.256, allocations: 8 kB / 1.51 GB, free: 36.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.08587/3.342, allocations: 15.5 MB / 1.525 GB, free: 20.88 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/3.342, allocations: 8.094 kB / 1.525 GB, free: 20.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.364e-05/3.342, allocations: 36 kB / 1.525 GB, free: 20.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06194/3.404, allocations: 7.406 MB / 1.533 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006373/3.41, allocations: 0.5421 MB / 1.533 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5645/3.975, allocations: 61.17 MB / 1.593 GB, free: 296.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00822/3.983, allocations: 84.97 kB / 1.593 GB, free: 296.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001897/3.985, allocations: 205.1 kB / 1.593 GB, free: 296.6 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002707/3.988, allocations: 196 kB / 1.593 GB, free: 296.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00201/3.99, allocations: 447.4 kB / 1.594 GB, free: 296.5 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08877/4.078, allocations: 15.49 MB / 1.609 GB, free: 296.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001355/4.079, allocations: 55.59 kB / 1.609 GB, free: 296.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003109/4.079, allocations: 71.97 kB / 1.609 GB, free: 296.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000193/4.079, allocations: 28.52 kB / 1.609 GB, free: 296.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1125/4.192, allocations: 22.61 MB / 1.631 GB, free: 295.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.29e-05/4.192, allocations: 6.344 kB / 1.631 GB, free: 295.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003692/4.196, allocations: 303.8 kB / 1.631 GB, free: 295.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04228/4.238, allocations: 6.767 MB / 1.638 GB, free: 295.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001461/4.239, allocations: 18.62 kB / 1.638 GB, free: 295.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1458/4.385, allocations: 58.12 MB / 1.695 GB, free: 275.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.727e-05/4.385, allocations: 13.59 kB / 1.695 GB, free: 275.1 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07459/4.46, allocations: 20.7 MB / 1.715 GB, free: 266.4 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005304/4.465, allocations: 1.238 MB / 1.716 GB, free: 265.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003909/4.469, allocations: 19.39 kB / 1.716 GB, free: 265.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007062/4.476, allocations: 94.84 kB / 1.716 GB, free: 265.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001949/4.478, allocations: 279.3 kB / 1.717 GB, free: 265.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001235/4.48, allocations: 139.2 kB / 1.717 GB, free: 265.6 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.00442/4.484, allocations: 1.341 MB / 1.718 GB, free: 265 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01222/4.496, allocations: 1.842 MB / 1.72 GB, free: 265 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001812/4.498, allocations: 148.5 kB / 1.72 GB, free: 264.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.04456/4.543, allocations: 12.4 MB / 1.732 GB, free: 259.6 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/4.543, allocations: 6.812 kB / 1.732 GB, free: 259.6 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.03059/4.573, allocations: 7.726 MB / 1.74 GB, free: 256.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01017/4.584, allocations: 0.9485 MB / 1.741 GB, free: 256 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06344/4.647, allocations: 13.26 MB / 1.754 GB, free: 249.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01294/4.66, allocations: 4.823 MB / 1.758 GB, free: 245.3 MB / 0.9011 GB Notification: Performance of SimCode: time 2.715e-06/4.66, allocations: 0 / 1.758 GB, free: 245.3 MB / 0.9011 GB Notification: Performance of Templates: time 0.3342/4.994, allocations: 123.3 MB / 1.879 GB, free: 148.2 MB / 0.9011 GB