Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.368/1.368, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.001003/0.001003, allocations: 169.3 kB / 366.3 MB, free: 1.969 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.085/1.085, allocations: 205.2 MB / 0.6256 GB, free: 5.793 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.000802/0.0008021, allocations: 93.66 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2119/0.2127, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.6727, allocations: 116.3 MB / 0.9727 GB, free: 68.13 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.184/0.8567, allocations: 185.2 MB / 1.154 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.857, allocations: 95.88 kB / 1.154 GB, free: 11.04 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.9242/1.781, allocations: 301.9 MB / 1.448 GB, free: 36.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/1.781, allocations: 8 kB / 1.448 GB, free: 36.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009895/1.791, allocations: 1.417 MB / 1.45 GB, free: 34.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009421/1.801, allocations: 4.213 MB / 1.454 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/1.801, allocations: 164 kB / 1.454 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001105/1.802, allocations: 299.8 kB / 1.454 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009091/1.811, allocations: 5.765 MB / 1.46 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/1.822, allocations: 7.71 MB / 1.468 GB, free: 16.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/1.822, allocations: 31.72 kB / 1.468 GB, free: 16.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005484/1.822, allocations: 16 kB / 1.468 GB, free: 16.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002319/1.823, allocations: 341.9 kB / 1.468 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0424/1.865, allocations: 39.11 MB / 1.506 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0032/1.868, allocations: 2.552 MB / 1.509 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003465/1.872, allocations: 2.52 MB / 1.511 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/1.872, allocations: 26.09 kB / 1.511 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/1.872, allocations: 64.66 kB / 1.511 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=265): time 5.981e-06/1.872, allocations: 0 / 1.511 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of matching and sorting (n=424): time 0.06954/1.942, allocations: 27.9 MB / 1.538 GB, free: 4.621 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/1.942, allocations: 94.73 kB / 1.538 GB, free: 4.516 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/1.944, allocations: 1.641 MB / 1.54 GB, free: 2.863 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005185/1.944, allocations: 25.7 kB / 1.54 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/1.946, allocations: 1.894 MB / 1.542 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00123/1.947, allocations: 1.393 MB / 1.543 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/1.947, allocations: 0 / 1.543 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002452/1.947, allocations: 483.4 kB / 1.544 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003649/1.951, allocations: 2.738 MB / 1.546 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004132/1.955, allocations: 3.679 MB / 1.55 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004098/1.959, allocations: 3.363 MB / 1.553 GB, free: 4.816 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/1.959, allocations: 8 kB / 1.553 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02531/1.985, allocations: 11.37 MB / 1.564 GB, free: 9.418 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/1.985, allocations: 4.188 kB / 1.564 GB, free: 9.414 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-05/1.985, allocations: 32 kB / 1.564 GB, free: 9.383 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0177/2.002, allocations: 4.967 MB / 1.569 GB, free: 4.355 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/2.005, allocations: 0.4913 MB / 1.57 GB, free: 3.863 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3289/2.334, allocations: 59.67 MB / 1.628 GB, free: 284.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00361/2.337, allocations: 66.38 kB / 1.628 GB, free: 284.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004543/2.338, allocations: 163.7 kB / 1.628 GB, free: 284.6 MB / 0.9636 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.0007333/2.338, allocations: 191.2 kB / 1.628 GB, free: 284.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005369/2.339, allocations: 370.3 kB / 1.629 GB, free: 284.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02183/2.361, allocations: 11.24 MB / 1.64 GB, free: 284.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/2.361, allocations: 44.53 kB / 1.64 GB, free: 284.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.516e-05/2.361, allocations: 49.44 kB / 1.64 GB, free: 284.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.62e-05/2.361, allocations: 21.47 kB / 1.64 GB, free: 284.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02898/2.39, allocations: 16.75 MB / 1.656 GB, free: 283.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/2.39, allocations: 7.469 kB / 1.656 GB, free: 283.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/2.391, allocations: 274.1 kB / 1.657 GB, free: 283.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01442/2.406, allocations: 4.444 MB / 1.661 GB, free: 283.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005618/2.406, allocations: 17.48 kB / 1.661 GB, free: 283.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05352/2.46, allocations: 57.24 MB / 1.717 GB, free: 254.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/2.46, allocations: 9.75 kB / 1.717 GB, free: 254.2 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02395/2.484, allocations: 15.08 MB / 1.732 GB, free: 251.5 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02759/2.512, allocations: 19.8 MB / 1.751 GB, free: 242.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/2.514, allocations: 0.9462 MB / 1.752 GB, free: 242 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006324/2.514, allocations: 28.62 kB / 1.752 GB, free: 242 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/2.516, allocations: 67.16 kB / 1.752 GB, free: 242 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004215/2.517, allocations: 213.7 kB / 1.752 GB, free: 242 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002755/2.517, allocations: 103.3 kB / 1.752 GB, free: 242 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.00139/2.519, allocations: 1.203 MB / 1.753 GB, free: 241.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005881/2.524, allocations: 1.442 MB / 1.755 GB, free: 241.5 MB / 0.9636 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.0005006/2.525, allocations: 151.1 kB / 1.755 GB, free: 241.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01673/2.542, allocations: 10.51 MB / 1.765 GB, free: 236 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/2.542, allocations: 2 kB / 1.765 GB, free: 236 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01431/2.556, allocations: 7.035 MB / 1.772 GB, free: 232 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00504/2.561, allocations: 0.8476 MB / 1.773 GB, free: 231.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/2.581, allocations: 10.11 MB / 1.783 GB, free: 228 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005242/2.586, allocations: 4.111 MB / 1.787 GB, free: 226.6 MB / 0.9636 GB Notification: Performance of SimCode: time 7.81e-07/2.586, allocations: 0 / 1.787 GB, free: 226.6 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)