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 2.866/2.866, allocations: 287.3 MB / 302.3 MB, free: 8.234 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.002277/0.002278, allocations: 175 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.251/2.251, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001642/0.001642, allocations: 99.48 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006996/0.0006996, allocations: 11.81 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2251, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03345/0.2586, allocations: 23.26 MB / 1.001 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.2767, allocations: 7.768 MB / 1.009 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/0.2801, allocations: 95.38 kB / 1.009 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002349/0.2825, allocations: 0.5085 MB / 1.009 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005583/0.2881, allocations: 1.184 MB / 1.01 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00492/0.2931, allocations: 1.007 MB / 1.011 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00753/0.3007, allocations: 3.003 MB / 1.014 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01987/0.3206, allocations: 8.164 MB / 1.022 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00428/0.325, allocations: 1.643 MB / 1.024 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00429/0.3293, allocations: 1.67 MB / 1.025 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0009297/0.3303, allocations: 212 kB / 1.026 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.3327, allocations: 0.5033 MB / 1.026 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002666/0.3354, allocations: 1.524 MB / 1.028 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.3371, allocations: 0.8082 MB / 1.028 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.3476, allocations: 6.51 MB / 1.035 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3476, allocations: 0 / 1.035 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.975e-06/0.3476, allocations: 0 / 1.035 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002206/0.3479, allocations: 0 / 1.035 GB, free: 2.246 MB / 0.6511 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.01152/0.3594, allocations: 3.44 MB / 1.038 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.3595, allocations: 8.031 kB / 1.038 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00181/0.3613, allocations: 0.5341 MB / 1.039 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006213/0.3675, allocations: 0.7719 MB / 1.039 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008/0.3756, allocations: 2.37 MB / 1.042 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003663/0.376, allocations: 271.3 kB / 1.042 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001659/0.3777, allocations: 375.9 kB / 1.042 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01841/0.3961, allocations: 5.928 MB / 1.048 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001872/0.3964, allocations: 23.72 kB / 1.048 GB, free: 4.156 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008856/0.3973, allocations: 160 kB / 1.048 GB, free: 4 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001032/0.3983, allocations: 282.9 kB / 1.049 GB, free: 3.723 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/0.4127, allocations: 4.496 MB / 1.053 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.675/1.088, allocations: 27.68 MB / 1.08 GB, free: 68.87 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/1.091, allocations: 1.111 MB / 1.081 GB, free: 68.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002095/1.091, allocations: 12.03 kB / 1.081 GB, free: 68.45 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/1.091, allocations: 44.91 kB / 1.081 GB, free: 68.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 4.048e-06/1.091, allocations: 0.6875 kB / 1.081 GB, free: 68.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=131): time 0.04337/1.135, allocations: 9.663 MB / 1.091 GB, free: 64.17 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/1.135, allocations: 65.03 kB / 1.091 GB, free: 64.11 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003657/1.139, allocations: 1.484 MB / 1.092 GB, free: 63.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003735/1.139, allocations: 51.55 kB / 1.092 GB, free: 63.49 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001513/1.141, allocations: 1.669 MB / 1.094 GB, free: 62.22 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007945/1.141, allocations: 466.9 kB / 1.094 GB, free: 61.87 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/1.142, allocations: 34.88 kB / 1.094 GB, free: 61.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.142, allocations: 375.6 kB / 1.095 GB, free: 61.51 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/1.144, allocations: 0.9081 MB / 1.096 GB, free: 61.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003095/1.147, allocations: 1.453 MB / 1.097 GB, free: 60.13 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003206/1.151, allocations: 1.144 MB / 1.098 GB, free: 59.63 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-05/1.151, allocations: 8.969 kB / 1.098 GB, free: 59.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01095/1.162, allocations: 3.278 MB / 1.101 GB, free: 58.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/1.162, allocations: 11.78 kB / 1.101 GB, free: 58.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.169e-05/1.162, allocations: 16.31 kB / 1.101 GB, free: 58.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004078/1.166, allocations: 0.7402 MB / 1.102 GB, free: 58.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003223/1.169, allocations: 384.1 kB / 1.102 GB, free: 57.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02195/1.191, allocations: 16.04 MB / 1.118 GB, free: 44.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/1.194, allocations: 101.8 kB / 1.118 GB, free: 44.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004166/1.194, allocations: 79.5 kB / 1.118 GB, free: 44.23 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.003878/1.198, allocations: 1.315 MB / 1.119 GB, free: 43.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007154/1.199, allocations: 198.3 kB / 1.12 GB, free: 43.53 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008803/1.208, allocations: 2.78 MB / 1.122 GB, free: 42.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-05/1.208, allocations: 16.58 kB / 1.122 GB, free: 42.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.702e-05/1.208, allocations: 10.62 kB / 1.122 GB, free: 42.33 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.581e-05/1.208, allocations: 4.828 kB / 1.122 GB, free: 42.33 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03102/1.239, allocations: 6.21 MB / 1.128 GB, free: 38.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.369e-05/1.239, allocations: 5.031 kB / 1.128 GB, free: 38.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003861/1.243, allocations: 234.7 kB / 1.129 GB, free: 38.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006017/1.249, allocations: 0.6627 MB / 1.129 GB, free: 38.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004409/1.25, allocations: 36.64 kB / 1.129 GB, free: 38.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03019/1.28, allocations: 15.77 MB / 1.145 GB, free: 23.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.336e-05/1.28, allocations: 10.41 kB / 1.145 GB, free: 23.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/1.291, allocations: 4.335 MB / 1.149 GB, free: 20.63 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/1.292, allocations: 459.5 kB / 1.149 GB, free: 20.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001273/1.294, allocations: 39.19 kB / 1.15 GB, free: 20.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002572/1.296, allocations: 82.2 kB / 1.15 GB, free: 20.22 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006252/1.297, allocations: 121.8 kB / 1.15 GB, free: 20.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/1.297, allocations: 42.34 kB / 1.15 GB, free: 20.14 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002037/1.299, allocations: 0.981 MB / 1.151 GB, free: 19.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/1.299, allocations: 0 / 1.151 GB, free: 19.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004052/1.303, allocations: 0.6848 MB / 1.151 GB, free: 19.55 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.01204/1.315, allocations: 6.279 MB / 1.158 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00813/1.324, allocations: 3.489 MB / 1.161 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.324, allocations: 4 kB / 1.161 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005105/1.329, allocations: 2.28 MB / 1.163 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004875/1.334, allocations: 0.6024 MB / 1.164 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06534/1.399, allocations: 29.28 MB / 1.192 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008139/1.407, allocations: 2.737 MB / 1.195 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004228/1.412, allocations: 481.4 kB / 1.195 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004387/1.416, allocations: 1.288 MB / 1.197 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of SimCode: time 2.295e-06/1.416, allocations: 0 / 1.197 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2018/1.618, allocations: 54.63 MB / 1.25 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004787/1.618, allocations: 236.2 kB / 1.25 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.256/5.875, allocations: 0 / 1.25 GB, free: 14.93 MB / 0.7761 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)