Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.352/2.352, allocations: 248.6 MB / 255.9 MB, free: 7.117 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001969/0.001968, allocations: 195.7 kB / 315.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.998/1.998, allocations: 205.1 MB / 0.5658 GB, free: 380 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001859/0.001858, allocations: 97.61 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5182/0.5201, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.7594, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.728/1.487, allocations: 179.7 MB / 1.059 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/1.488, allocations: 90.75 kB / 1.059 GB, free: 10.55 MB / 0.6823 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 1.985/3.473, allocations: 322.8 MB / 1.374 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/3.473, allocations: 7.812 kB / 1.374 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04407/3.517, allocations: 1.681 MB / 1.376 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02309/3.54, allocations: 5.007 MB / 1.381 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004511/3.54, allocations: 198.5 kB / 1.381 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003868/3.544, allocations: 359.7 kB / 1.381 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0259/3.57, allocations: 7.07 MB / 1.388 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03608/3.606, allocations: 9.187 MB / 1.397 GB, free: 126 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004584/3.607, allocations: 28.44 kB / 1.397 GB, free: 126 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003402/3.61, allocations: 14.66 kB / 1.397 GB, free: 126 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006536/3.611, allocations: 397.7 kB / 1.398 GB, free: 126 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1128/3.724, allocations: 45.35 MB / 1.442 GB, free: 91.09 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01443/3.738, allocations: 3.721 MB / 1.446 GB, free: 89.73 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01087/3.749, allocations: 3.492 MB / 1.449 GB, free: 88.36 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007046/3.75, allocations: 40.19 kB / 1.449 GB, free: 88.36 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.623e-05/3.75, allocations: 72.78 kB / 1.449 GB, free: 88.29 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=353): time 6.362e-06/3.75, allocations: 0 / 1.449 GB, free: 88.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=578): time 0.254/4.004, allocations: 38.11 MB / 1.486 GB, free: 61.25 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/4.004, allocations: 111.9 kB / 1.486 GB, free: 61.13 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003999/4.008, allocations: 1.84 MB / 1.488 GB, free: 59.29 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001705/4.01, allocations: 25.7 kB / 1.488 GB, free: 59.26 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001443/4.012, allocations: 2.185 MB / 1.49 GB, free: 57.04 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.003447/4.015, allocations: 1.874 MB / 1.492 GB, free: 55.14 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/4.016, allocations: 0 / 1.492 GB, free: 55.14 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004324/4.017, allocations: 0.5259 MB / 1.493 GB, free: 54.61 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01021/4.027, allocations: 3.752 MB / 1.496 GB, free: 50.85 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0116/4.039, allocations: 4.837 MB / 1.501 GB, free: 45.59 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/4.051, allocations: 4.582 MB / 1.506 GB, free: 40.96 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.595e-05/4.051, allocations: 8 kB / 1.506 GB, free: 40.96 MB / 0.8542 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.07706/4.128, allocations: 15.5 MB / 1.521 GB, free: 25.46 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/4.128, allocations: 11.89 kB / 1.521 GB, free: 25.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.409e-05/4.128, allocations: 28 kB / 1.521 GB, free: 25.42 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05869/4.187, allocations: 7.414 MB / 1.528 GB, free: 17.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007329/4.194, allocations: 0.5421 MB / 1.529 GB, free: 17.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2016/4.396, allocations: 61.17 MB / 1.588 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01196/4.408, allocations: 83.91 kB / 1.588 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003034/4.411, allocations: 207.8 kB / 1.589 GB, free: 2.711 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.004777/4.416, allocations: 192 kB / 1.589 GB, free: 2.516 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003619/4.419, allocations: 450.7 kB / 1.589 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4913/4.911, allocations: 15.47 MB / 1.604 GB, free: 306 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.96e-05/4.911, allocations: 59.16 kB / 1.604 GB, free: 306 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002929/4.911, allocations: 74.78 kB / 1.604 GB, free: 306 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001357/4.911, allocations: 28.31 kB / 1.604 GB, free: 306 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09167/5.003, allocations: 22.61 MB / 1.627 GB, free: 305.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.678e-05/5.003, allocations: 7.719 kB / 1.627 GB, free: 305.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003685/5.007, allocations: 300.9 kB / 1.627 GB, free: 305.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0431/5.05, allocations: 6.773 MB / 1.633 GB, free: 305.1 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001652/5.052, allocations: 14.25 kB / 1.633 GB, free: 305.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1665/5.218, allocations: 58.12 MB / 1.69 GB, free: 286.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.277e-05/5.218, allocations: 7.031 kB / 1.69 GB, free: 286.2 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07899/5.297, allocations: 20.71 MB / 1.71 GB, free: 277.5 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.09986/5.397, allocations: 27.17 MB / 1.737 GB, free: 265.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006026/5.403, allocations: 1.237 MB / 1.738 GB, free: 265.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00308/5.406, allocations: 14.22 kB / 1.738 GB, free: 265.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007568/5.414, allocations: 90.2 kB / 1.738 GB, free: 265.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002045/5.416, allocations: 289 kB / 1.739 GB, free: 264.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007924/5.417, allocations: 136 kB / 1.739 GB, free: 264.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.004064/5.421, allocations: 1.341 MB / 1.74 GB, free: 263.6 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01437/5.436, allocations: 1.846 MB / 1.742 GB, free: 261.8 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.001846/5.437, allocations: 149.9 kB / 1.742 GB, free: 261.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.04501/5.482, allocations: 12.4 MB / 1.754 GB, free: 250.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.102e-05/5.483, allocations: 0 / 1.754 GB, free: 250.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.03196/5.514, allocations: 7.733 MB / 1.762 GB, free: 243.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01061/5.525, allocations: 0.9428 MB / 1.763 GB, free: 242.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05436/5.58, allocations: 13.29 MB / 1.776 GB, free: 231 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01394/5.594, allocations: 4.849 MB / 1.78 GB, free: 227.3 MB / 0.9011 GB Notification: Performance of SimCode: time 1.664e-06/5.594, allocations: 0 / 1.78 GB, free: 227.3 MB / 0.9011 GB