Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.372/1.372, allocations: 289.8 MB / 297.1 MB, free: 6.633 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009903/0.0009903, allocations: 177.3 kB / 366.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.109/1.109, allocations: 205.1 MB / 0.6256 GB, free: 5.832 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008286/0.0008285, allocations: 76.88 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2079/0.2088, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.6798, allocations: 116.3 MB / 0.9727 GB, free: 68.5 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/0.8605, allocations: 186.3 MB / 1.155 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.8608, allocations: 91.94 kB / 1.155 GB, free: 10.01 MB / 0.7605 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.061/1.922, allocations: 357.9 MB / 1.504 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/1.922, allocations: 8 kB / 1.504 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/1.937, allocations: 1.681 MB / 1.506 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01579/1.952, allocations: 5.031 MB / 1.511 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003402/1.953, allocations: 196 kB / 1.511 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002486/1.955, allocations: 359.8 kB / 1.511 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01527/1.971, allocations: 7.065 MB / 1.518 GB, free: 336 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02053/1.991, allocations: 9.193 MB / 1.527 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001814/1.991, allocations: 35.62 kB / 1.527 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007078/1.992, allocations: 16 kB / 1.527 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003367/1.992, allocations: 396 kB / 1.528 GB, free: 6.203 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05348/2.046, allocations: 45.34 MB / 1.572 GB, free: 5.125 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004836/2.051, allocations: 3.719 MB / 1.575 GB, free: 1.406 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004151/2.055, allocations: 3.501 MB / 1.579 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/2.055, allocations: 34.78 kB / 1.579 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/2.055, allocations: 69.34 kB / 1.579 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=353): time 4.969e-06/2.055, allocations: 0 / 1.579 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of matching and sorting (n=578): time 0.3639/2.419, allocations: 38.08 MB / 1.616 GB, free: 254.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/2.419, allocations: 110.8 kB / 1.616 GB, free: 254.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/2.422, allocations: 1.833 MB / 1.618 GB, free: 254 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006337/2.422, allocations: 29.48 kB / 1.618 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008057/2.423, allocations: 2.182 MB / 1.62 GB, free: 253 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001635/2.425, allocations: 1.871 MB / 1.622 GB, free: 252 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/2.425, allocations: 3.844 kB / 1.622 GB, free: 252 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002222/2.425, allocations: 0.5345 MB / 1.623 GB, free: 251.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004311/2.43, allocations: 3.753 MB / 1.626 GB, free: 251.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004551/2.434, allocations: 4.831 MB / 1.631 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004997/2.439, allocations: 4.591 MB / 1.635 GB, free: 250.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.729e-05/2.439, allocations: 11 kB / 1.635 GB, free: 250.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.02998/2.469, allocations: 15.49 MB / 1.651 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/2.469, allocations: 7.781 kB / 1.651 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-05/2.469, allocations: 29.59 kB / 1.651 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02338/2.493, allocations: 7.412 MB / 1.658 GB, free: 249.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/2.495, allocations: 0.5424 MB / 1.658 GB, free: 249.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0744/2.569, allocations: 61.17 MB / 1.718 GB, free: 228.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004603/2.574, allocations: 86.91 kB / 1.718 GB, free: 228.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006244/2.575, allocations: 202.1 kB / 1.718 GB, free: 228.6 MB / 0.9323 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.0008733/2.576, allocations: 187.4 kB / 1.719 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008355/2.576, allocations: 452.3 kB / 1.719 GB, free: 228.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03261/2.609, allocations: 15.5 MB / 1.734 GB, free: 222.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.415e-05/2.609, allocations: 55 kB / 1.734 GB, free: 222.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000151/2.609, allocations: 71.06 kB / 1.734 GB, free: 222.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001091/2.609, allocations: 31.81 kB / 1.734 GB, free: 222.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04256/2.652, allocations: 22.61 MB / 1.756 GB, free: 214.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-05/2.652, allocations: 7.375 kB / 1.756 GB, free: 214.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/2.654, allocations: 306.1 kB / 1.757 GB, free: 214.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02243/2.676, allocations: 6.774 MB / 1.763 GB, free: 213.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008332/2.677, allocations: 21.22 kB / 1.763 GB, free: 213.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07429/2.752, allocations: 58.11 MB / 1.82 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/2.752, allocations: 11.84 kB / 1.82 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03725/2.789, allocations: 20.72 MB / 1.84 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0442/2.833, allocations: 27.17 MB / 1.867 GB, free: 131.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003245/2.837, allocations: 1.234 MB / 1.868 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001526/2.838, allocations: 15.28 kB / 1.868 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003428/2.841, allocations: 94.31 kB / 1.868 GB, free: 130.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008763/2.842, allocations: 281.1 kB / 1.868 GB, free: 130.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005201/2.843, allocations: 136.5 kB / 1.869 GB, free: 130.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.002044/2.845, allocations: 1.343 MB / 1.87 GB, free: 129.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008071/2.853, allocations: 1.868 MB / 1.872 GB, free: 127.2 MB / 0.9323 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.0006969/2.854, allocations: 139.4 kB / 1.872 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02118/2.875, allocations: 12.42 MB / 1.884 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/2.875, allocations: 0 / 1.884 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01429/2.889, allocations: 7.719 MB / 1.891 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005341/2.895, allocations: 0.9514 MB / 1.892 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02636/2.921, allocations: 13.28 MB / 1.905 GB, free: 96.27 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005453/2.927, allocations: 4.856 MB / 1.91 GB, free: 92.52 MB / 0.9323 GB Notification: Performance of SimCode: time 1.132e-06/2.927, allocations: 4 kB / 1.91 GB, free: 92.52 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)