Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.553/1.553, allocations: 287.4 MB / 302.5 MB, free: 8.23 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.001035/0.001035, allocations: 178.2 kB / 371.1 MB, free: 10.82 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.385/1.385, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000975/0.000975, allocations: 107.3 kB / 0.7431 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000406/0.0004061, allocations: 16.56 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2449, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02021/0.2652, allocations: 24.21 MB / 1.002 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.2779, allocations: 7.724 MB / 1.01 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002602/0.2806, allocations: 103.4 kB / 1.01 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.2822, allocations: 0.5115 MB / 1.011 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003991/0.2862, allocations: 1.282 MB / 1.012 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.2896, allocations: 0.9854 MB / 1.013 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009832/0.2994, allocations: 6.952 MB / 1.02 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01603/0.3155, allocations: 9.022 MB / 1.028 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/0.3205, allocations: 1.883 MB / 1.03 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005134/0.3257, allocations: 2.398 MB / 1.033 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.3268, allocations: 212 kB / 1.033 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002873/0.3297, allocations: 0.6009 MB / 1.033 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002544/0.3322, allocations: 1.664 MB / 1.035 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00184/0.3341, allocations: 0.8043 MB / 1.036 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007975/0.3421, allocations: 6.623 MB / 1.042 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3421, allocations: 0 / 1.042 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.815e-06/0.3422, allocations: 0 / 1.042 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002602/0.3424, allocations: 0 / 1.042 GB, free: 10.87 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.008319/0.3507, allocations: 3.428 MB / 1.046 GB, free: 7.379 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.3508, allocations: 8.031 kB / 1.046 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001429/0.3522, allocations: 0.5382 MB / 1.046 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004331/0.3566, allocations: 0.8 MB / 1.047 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005177/0.3618, allocations: 2.428 MB / 1.049 GB, free: 3.535 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.362, allocations: 267.6 kB / 1.049 GB, free: 3.273 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/0.3631, allocations: 380.4 kB / 1.05 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.3737, allocations: 5.961 MB / 1.056 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.385e-05/0.3739, allocations: 11.94 kB / 1.056 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003614/0.3742, allocations: 160 kB / 1.056 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000589/0.3748, allocations: 282.9 kB / 1.056 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008456/0.3833, allocations: 4.5 MB / 1.06 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5512/0.9345, allocations: 27.68 MB / 1.088 GB, free: 62.37 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/0.9369, allocations: 1.112 MB / 1.089 GB, free: 61.95 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/0.9388, allocations: 1.022 MB / 1.09 GB, free: 61.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.9389, allocations: 15.78 kB / 1.09 GB, free: 61.55 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.9389, allocations: 45.7 kB / 1.09 GB, free: 61.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 3.957e-06/0.9389, allocations: 0 / 1.09 GB, free: 61.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=131): time 0.02382/0.9628, allocations: 9.664 MB / 1.099 GB, free: 57.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.9629, allocations: 66.44 kB / 1.099 GB, free: 57.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/0.9655, allocations: 1.484 MB / 1.101 GB, free: 56.64 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/0.9656, allocations: 55.27 kB / 1.101 GB, free: 56.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.9668, allocations: 1.662 MB / 1.102 GB, free: 55.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004536/0.9673, allocations: 469.6 kB / 1.103 GB, free: 54.97 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.434e-05/0.9674, allocations: 36.41 kB / 1.103 GB, free: 54.94 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.9675, allocations: 374.9 kB / 1.103 GB, free: 54.61 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.9691, allocations: 0.909 MB / 1.104 GB, free: 54.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.971, allocations: 1.457 MB / 1.105 GB, free: 53.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00318/0.9742, allocations: 2.539 MB / 1.108 GB, free: 51.63 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.699e-06/0.9742, allocations: 3.875 kB / 1.108 GB, free: 51.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006001/0.9802, allocations: 3.275 MB / 1.111 GB, free: 50.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.9803, allocations: 12.53 kB / 1.111 GB, free: 50.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/0.9803, allocations: 19.72 kB / 1.111 GB, free: 50.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002303/0.9826, allocations: 0.7458 MB / 1.112 GB, free: 50 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.9842, allocations: 391.1 kB / 1.112 GB, free: 49.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/0.9973, allocations: 15.76 MB / 1.128 GB, free: 36.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.9995, allocations: 101.3 kB / 1.128 GB, free: 36.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/0.9997, allocations: 77.88 kB / 1.128 GB, free: 36.34 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003121/1.003, allocations: 1.322 MB / 1.129 GB, free: 35.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005858/1.003, allocations: 197.7 kB / 1.129 GB, free: 35.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005578/1.009, allocations: 2.777 MB / 1.132 GB, free: 33.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/1.009, allocations: 17.62 kB / 1.132 GB, free: 33.85 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.079e-05/1.009, allocations: 6.25 kB / 1.132 GB, free: 33.85 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/1.009, allocations: 5.078 kB / 1.132 GB, free: 33.85 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/1.021, allocations: 6.221 MB / 1.138 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/1.022, allocations: 7.812 kB / 1.138 GB, free: 30.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/1.023, allocations: 225.8 kB / 1.138 GB, free: 29.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002011/1.025, allocations: 0.6666 MB / 1.139 GB, free: 29.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/1.025, allocations: 32.47 kB / 1.139 GB, free: 29.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01268/1.038, allocations: 15.52 MB / 1.154 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/1.038, allocations: 11.56 kB / 1.154 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006034/1.044, allocations: 3.99 MB / 1.158 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.045, allocations: 458.5 kB / 1.159 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/1.045, allocations: 35.23 kB / 1.159 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008524/1.046, allocations: 85.39 kB / 1.159 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/1.046, allocations: 113.7 kB / 1.159 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-05/1.046, allocations: 41.94 kB / 1.159 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001345/1.048, allocations: 0.9793 MB / 1.16 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.048, allocations: 0 / 1.16 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002709/1.05, allocations: 0.6854 MB / 1.16 GB, free: 11.65 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005342/1.056, allocations: 4.586 MB / 1.165 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004636/1.06, allocations: 3.496 MB / 1.168 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/1.06, allocations: 0 / 1.168 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002622/1.063, allocations: 2.282 MB / 1.171 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003833/1.067, allocations: 0.614 MB / 1.171 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03176/1.099, allocations: 17.76 MB / 1.188 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002987/1.102, allocations: 2.668 MB / 1.191 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001922/1.104, allocations: 485.4 kB / 1.192 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001605/1.105, allocations: 1.284 MB / 1.193 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/1.105, allocations: 0 / 1.193 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5971/1.702, allocations: 54.68 MB / 1.246 GB, free: 3.426 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/1.703, allocations: 225.4 kB / 1.246 GB, free: 3.191 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.568/5.27, allocations: 0 / 1.246 GB, free: 3.191 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)