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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001184/0.001184, allocations: 182.3 kB / 371.6 MB, free: 3.359 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.683/1.683, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001509/0.001509, allocations: 93.34 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.228e-05/5.26e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3193, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.344, allocations: 187 MB / 1.163 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003739/1.344, allocations: 95.19 kB / 1.163 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.693/3.038, allocations: 354.4 MB / 1.509 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.514e-06/3.038, allocations: 0 / 1.509 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001319/3.039, allocations: 177.8 kB / 1.509 GB, free: 156.5 MB / 0.9323 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 0.02785/3.067, allocations: 5.54 MB / 1.514 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/3.067, allocations: 15.84 kB / 1.514 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005937/3.073, allocations: 0.8846 MB / 1.515 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/3.089, allocations: 1.762 MB / 1.517 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01968/3.108, allocations: 5.049 MB / 1.522 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006706/3.109, allocations: 455.7 kB / 1.522 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004446/3.114, allocations: 0.5997 MB / 1.523 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03785/3.152, allocations: 9.875 MB / 1.532 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005706/3.152, allocations: 29.72 kB / 1.533 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004467/3.157, allocations: 268.8 kB / 1.533 GB, free: 145.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006742/3.157, allocations: 377.7 kB / 1.533 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02271/3.18, allocations: 7.699 MB / 1.541 GB, free: 142.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08168/3.262, allocations: 46.36 MB / 1.586 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007059/3.269, allocations: 4.148 MB / 1.59 GB, free: 105.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006326/3.275, allocations: 3.577 MB / 1.593 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005963/3.276, allocations: 36.47 kB / 1.594 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.593e-05/3.276, allocations: 63.97 kB / 1.594 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=353): time 5.6e-06/3.276, allocations: 0 / 1.594 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=578): time 0.4241/3.7, allocations: 98.53 MB / 1.69 GB, free: 23.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.792e-05/3.7, allocations: 111.9 kB / 1.69 GB, free: 23.27 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005276/3.706, allocations: 2.12 MB / 1.692 GB, free: 21.16 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001441/3.707, allocations: 117.7 kB / 1.692 GB, free: 21.04 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001648/3.709, allocations: 2.696 MB / 1.695 GB, free: 18.32 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002858/3.712, allocations: 1.95 MB / 1.697 GB, free: 16.38 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/3.713, allocations: 116 kB / 1.697 GB, free: 16.27 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004351/3.713, allocations: 0.5298 MB / 1.697 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005648/3.719, allocations: 3.725 MB / 1.701 GB, free: 12 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006275/3.725, allocations: 4.845 MB / 1.706 GB, free: 6.727 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006928/3.732, allocations: 4.533 MB / 1.71 GB, free: 2.148 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-05/3.732, allocations: 12 kB / 1.71 GB, free: 2.137 MB / 0.9323 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.04442/3.777, allocations: 15.88 MB / 1.726 GB, free: 2.148 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.428e-05/3.777, allocations: 16 kB / 1.726 GB, free: 2.133 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.087e-05/3.777, allocations: 32 kB / 1.726 GB, free: 2.102 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8263/4.603, allocations: 7.695 MB / 1.733 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/4.606, allocations: 0.5535 MB / 1.734 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09439/4.701, allocations: 67.26 MB / 1.799 GB, free: 150.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006176/4.707, allocations: 241.1 kB / 1.8 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001707/4.709, allocations: 208.4 kB / 1.8 GB, free: 150.2 MB / 0.948 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.001375/4.71, allocations: 394.4 kB / 1.8 GB, free: 149.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/4.711, allocations: 468.2 kB / 1.801 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03574/4.747, allocations: 15.8 MB / 1.816 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.847e-05/4.747, allocations: 55.91 kB / 1.816 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002303/4.748, allocations: 73.53 kB / 1.816 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001496/4.748, allocations: 26.81 kB / 1.816 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06459/4.812, allocations: 23.89 MB / 1.839 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-05/4.812, allocations: 6.125 kB / 1.839 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002162/4.815, allocations: 322.6 kB / 1.84 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02516/4.84, allocations: 6.828 MB / 1.846 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001775/4.842, allocations: 111.1 kB / 1.847 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1111/4.953, allocations: 64.12 MB / 1.909 GB, free: 96.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/4.953, allocations: 10.31 kB / 1.909 GB, free: 96.75 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04323/4.996, allocations: 20.8 MB / 1.93 GB, free: 87.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004676/5.001, allocations: 1.266 MB / 1.931 GB, free: 86.89 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002182/5.003, allocations: 109.7 kB / 1.931 GB, free: 86.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004965/5.008, allocations: 232.7 kB / 1.931 GB, free: 86.75 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003378/5.011, allocations: 0.5185 MB / 1.932 GB, free: 86.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009821/5.012, allocations: 138.2 kB / 1.932 GB, free: 86.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002849/5.015, allocations: 1.595 MB / 1.933 GB, free: 86.01 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/5.015, allocations: 0 / 1.933 GB, free: 86.01 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01255/5.028, allocations: 2.336 MB / 1.936 GB, free: 85.74 MB / 0.948 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.04687/5.075, allocations: 23.2 MB / 1.958 GB, free: 74.13 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02792/5.103, allocations: 13.58 MB / 1.971 GB, free: 67.59 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/5.103, allocations: 320 / 1.971 GB, free: 67.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.02033/5.123, allocations: 8.876 MB / 1.98 GB, free: 61.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008097/5.131, allocations: 1.101 MB / 1.981 GB, free: 60.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04399/5.175, allocations: 14.9 MB / 1.996 GB, free: 47.44 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01079/5.186, allocations: 5.023 MB / 2.001 GB, free: 43.66 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004097/5.19, allocations: 0.7458 MB / 2.001 GB, free: 43.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004277/5.195, allocations: 2.59 MB / 2.004 GB, free: 40.74 MB / 0.948 GB Notification: Performance of SimCode: time 1.783e-06/5.195, allocations: 0 / 2.004 GB, free: 40.74 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.996/6.191, allocations: 176.5 MB / 2.176 GB, free: 169.7 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/6.191, allocations: 195.6 kB / 2.176 GB, free: 169.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/13.67, allocations: 0 / 2.176 GB, free: 169.5 MB / 0.9792 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)