Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.3-maint.7.0.x/package.mo): time 1.203/1.203, allocations: 249.4 MB / 256.7 MB, free: 15.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 183.7 kB / 316 MB, free: 7.238 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.42/1.42, allocations: 205.1 MB / 0.5667 GB, free: 23.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008461/0.000846, allocations: 93.58 kB / 0.671 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2175/0.2183, allocations: 112.5 MB / 0.7808 GB, free: 324 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.6097, allocations: 106.3 MB / 0.8847 GB, free: 76.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5299/1.14, allocations: 177.9 MB / 1.058 GB, free: 52.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/1.14, allocations: 90.25 kB / 1.058 GB, free: 52.93 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.5988/1.739, allocations: 270.5 MB / 1.323 GB, free: 10.08 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/1.739, allocations: 12 kB / 1.323 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/1.751, allocations: 1.417 MB / 1.324 GB, free: 8.645 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/1.762, allocations: 4.196 MB / 1.328 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/1.762, allocations: 160 kB / 1.328 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00185/1.764, allocations: 303.9 kB / 1.329 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01342/1.777, allocations: 5.758 MB / 1.334 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01891/1.796, allocations: 7.725 MB / 1.342 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/1.797, allocations: 23.78 kB / 1.342 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005636/1.797, allocations: 12 kB / 1.342 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003386/1.798, allocations: 345.9 kB / 1.342 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3307/2.128, allocations: 39.09 MB / 1.38 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/2.131, allocations: 2.562 MB / 1.383 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002592/2.134, allocations: 2.509 MB / 1.385 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/2.134, allocations: 38.16 kB / 1.385 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/2.134, allocations: 60.59 kB / 1.385 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=265): time 6.292e-06/2.134, allocations: 0 / 1.385 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=424): time 0.06396/2.198, allocations: 27.91 MB / 1.413 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/2.198, allocations: 106.1 kB / 1.413 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002322/2.2, allocations: 1.634 MB / 1.414 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009089/2.201, allocations: 25.7 kB / 1.414 GB, free: 219.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000991/2.202, allocations: 1.9 MB / 1.416 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001425/2.204, allocations: 1.383 MB / 1.418 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/2.204, allocations: 0 / 1.418 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001981/2.204, allocations: 481.3 kB / 1.418 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003286/2.207, allocations: 2.75 MB / 1.421 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003824/2.211, allocations: 3.675 MB / 1.424 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004399/2.216, allocations: 3.359 MB / 1.428 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/2.216, allocations: 7.031 kB / 1.428 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02451/2.24, allocations: 11.38 MB / 1.439 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/2.24, allocations: 3.469 kB / 1.439 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.436e-05/2.24, allocations: 33.34 kB / 1.439 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01754/2.258, allocations: 4.964 MB / 1.444 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002439/2.26, allocations: 498.7 kB / 1.444 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06196/2.322, allocations: 59.67 MB / 1.502 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003977/2.326, allocations: 65.02 kB / 1.502 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000632/2.327, allocations: 166.2 kB / 1.502 GB, free: 184.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007814/2.328, allocations: 192.2 kB / 1.503 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007228/2.329, allocations: 371.5 kB / 1.503 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02434/2.353, allocations: 11.24 MB / 1.514 GB, free: 180 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001233/2.353, allocations: 41.94 kB / 1.514 GB, free: 180 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002743/2.353, allocations: 47.75 kB / 1.514 GB, free: 180 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001135/2.354, allocations: 19.84 kB / 1.514 GB, free: 180 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0339/2.387, allocations: 16.75 MB / 1.53 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-05/2.388, allocations: 10.44 kB / 1.53 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/2.389, allocations: 273.5 kB / 1.531 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01511/2.404, allocations: 4.443 MB / 1.535 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006433/2.405, allocations: 17.8 kB / 1.535 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05622/2.461, allocations: 57.24 MB / 1.591 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/2.461, allocations: 12.94 kB / 1.591 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02606/2.487, allocations: 15.08 MB / 1.606 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03146/2.519, allocations: 19.81 MB / 1.625 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00288/2.522, allocations: 0.9472 MB / 1.626 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/2.523, allocations: 19.91 kB / 1.626 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/2.525, allocations: 70.39 kB / 1.626 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004312/2.526, allocations: 212 kB / 1.626 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002737/2.526, allocations: 104 kB / 1.626 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001629/2.528, allocations: 1.201 MB / 1.628 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006584/2.534, allocations: 1.426 MB / 1.629 GB, free: 107 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007349/2.535, allocations: 154.6 kB / 1.629 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01762/2.553, allocations: 10.52 MB / 1.639 GB, free: 97.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/2.553, allocations: 0 / 1.639 GB, free: 97.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0134/2.566, allocations: 7.038 MB / 1.646 GB, free: 90.54 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004718/2.571, allocations: 0.8469 MB / 1.647 GB, free: 89.89 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02223/2.593, allocations: 10.1 MB / 1.657 GB, free: 80.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006493/2.6, allocations: 4.108 MB / 1.661 GB, free: 77.58 MB / 0.8698 GB Notification: Performance of SimCode: time 8.02e-07/2.6, allocations: 0 / 1.661 GB, free: 77.58 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)