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_N.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_N,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.244/1.244, allocations: 249.4 MB / 256.7 MB, free: 6.996 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.001014/0.001014, allocations: 185.2 kB / 316 MB, free: 3.57 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.192/1.192, allocations: 205.1 MB / 0.5667 GB, free: 15.65 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.0008906/0.0008906, allocations: 82.27 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3545/0.3554, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.5195, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5027/1.022, allocations: 179.9 MB / 1.06 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/1.022, allocations: 95.61 kB / 1.06 GB, free: 9.008 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.048/2.07, allocations: 322.8 MB / 1.376 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/2.07, allocations: 13.59 kB / 1.376 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/2.086, allocations: 1.677 MB / 1.377 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01705/2.103, allocations: 5.013 MB / 1.382 GB, free: 184 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004259/2.103, allocations: 194.7 kB / 1.382 GB, free: 184 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002886/2.106, allocations: 362.1 kB / 1.383 GB, free: 184 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01815/2.124, allocations: 7.063 MB / 1.39 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02544/2.15, allocations: 9.201 MB / 1.399 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003335/2.15, allocations: 23.77 kB / 1.399 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002763/2.153, allocations: 16 kB / 1.399 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00034/2.153, allocations: 400.1 kB / 1.399 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05184/2.205, allocations: 45.34 MB / 1.443 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003865/2.209, allocations: 3.719 MB / 1.447 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003534/2.213, allocations: 3.497 MB / 1.45 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002042/2.213, allocations: 34.78 kB / 1.45 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/2.213, allocations: 69.28 kB / 1.451 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=353): time 5.2e-06/2.213, allocations: 0 / 1.451 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=578): time 0.09106/2.304, allocations: 38.11 MB / 1.488 GB, free: 77.45 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/2.304, allocations: 115.9 kB / 1.488 GB, free: 77.32 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/2.307, allocations: 1.825 MB / 1.49 GB, free: 75.49 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001089/2.308, allocations: 29.7 kB / 1.49 GB, free: 75.46 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000739/2.308, allocations: 2.177 MB / 1.492 GB, free: 73.25 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002089/2.311, allocations: 1.878 MB / 1.494 GB, free: 71.34 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004111/2.311, allocations: 3.938 kB / 1.494 GB, free: 71.34 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002247/2.311, allocations: 0.5259 MB / 1.494 GB, free: 70.81 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004334/2.315, allocations: 3.752 MB / 1.498 GB, free: 67.05 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004898/2.32, allocations: 4.841 MB / 1.503 GB, free: 61.78 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005154/2.326, allocations: 4.59 MB / 1.507 GB, free: 57.15 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/2.326, allocations: 11.94 kB / 1.507 GB, free: 57.14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03108/2.357, allocations: 15.5 MB / 1.522 GB, free: 41.64 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/2.357, allocations: 4 kB / 1.522 GB, free: 41.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-05/2.357, allocations: 32.84 kB / 1.522 GB, free: 41.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02366/2.38, allocations: 7.411 MB / 1.529 GB, free: 34.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/2.383, allocations: 0.5343 MB / 1.53 GB, free: 33.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3816/2.765, allocations: 61.18 MB / 1.59 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00534/2.77, allocations: 82.09 kB / 1.59 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/2.771, allocations: 206.9 kB / 1.59 GB, free: 260.7 MB / 0.8698 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.000915/2.772, allocations: 190.5 kB / 1.59 GB, free: 260.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/2.773, allocations: 450.4 kB / 1.591 GB, free: 260.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03198/2.805, allocations: 15.48 MB / 1.606 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001262/2.805, allocations: 56.59 kB / 1.606 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002364/2.805, allocations: 72.75 kB / 1.606 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001316/2.806, allocations: 30.64 kB / 1.606 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04479/2.85, allocations: 22.61 MB / 1.628 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.602e-05/2.851, allocations: 8.844 kB / 1.628 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/2.852, allocations: 302.8 kB / 1.628 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02154/2.874, allocations: 6.773 MB / 1.635 GB, free: 259.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009916/2.875, allocations: 18.31 kB / 1.635 GB, free: 259.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0744/2.949, allocations: 58.12 MB / 1.692 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.706e-05/2.95, allocations: 13.31 kB / 1.692 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03651/2.986, allocations: 20.7 MB / 1.712 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04311/3.029, allocations: 27.18 MB / 1.738 GB, free: 213.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003525/3.033, allocations: 1.243 MB / 1.74 GB, free: 213 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001631/3.034, allocations: 14.44 kB / 1.74 GB, free: 213 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003297/3.038, allocations: 90.17 kB / 1.74 GB, free: 213 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005964/3.038, allocations: 278.4 kB / 1.74 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003854/3.039, allocations: 136.9 kB / 1.74 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001775/3.041, allocations: 1.346 MB / 1.741 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.009485/3.05, allocations: 1.841 MB / 1.743 GB, free: 212.4 MB / 0.8698 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.001221/3.051, allocations: 144.2 kB / 1.743 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02463/3.076, allocations: 12.4 MB / 1.755 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.792e-05/3.076, allocations: 0 / 1.755 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01618/3.092, allocations: 7.722 MB / 1.763 GB, free: 198 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006619/3.099, allocations: 0.9446 MB / 1.764 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02999/3.129, allocations: 13.29 MB / 1.777 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008722/3.138, allocations: 4.853 MB / 1.782 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.332e-06/3.138, allocations: 0 / 1.782 GB, free: 181.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)