Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 199.9 kB / 16.64 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.809/1.809, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001457, allocations: 68.38 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2121, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006781/0.2189, allocations: 5.511 MB / 0.789 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004025/0.2229, allocations: 2.662 MB / 0.7916 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002869/0.2232, allocations: 27.81 kB / 0.7917 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.2249, allocations: 0.6839 MB / 0.7923 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007926/0.2257, allocations: 409.7 kB / 0.7927 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008864/0.2266, allocations: 399 kB / 0.7931 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008542/0.2275, allocations: 0.9669 MB / 0.794 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005725/0.2281, allocations: 466.8 kB / 0.7945 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003801/0.2284, allocations: 362.6 kB / 0.7948 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004892/0.2289, allocations: 414.3 kB / 0.7952 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.912e-05/0.229, allocations: 48 kB / 0.7953 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005654/0.2296, allocations: 355.3 kB / 0.7956 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.2298, allocations: 251.4 kB / 0.7958 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.2302, allocations: 354.1 kB / 0.7962 GB, free: 348 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.2312, allocations: 0.9734 MB / 0.7971 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2313, allocations: 0 / 0.7971 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2313, allocations: 0 / 0.7971 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.2313, allocations: 0 / 0.7971 GB, free: 15.36 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001538/0.2328, allocations: 0.9814 MB / 0.7981 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2329, allocations: 8.031 kB / 0.7981 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.233, allocations: 94.7 kB / 0.7982 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.2343, allocations: 199.8 kB / 0.7984 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007249/0.235, allocations: 0.5296 MB / 0.7989 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.2351, allocations: 37.36 kB / 0.7989 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.2352, allocations: 52.56 kB / 0.799 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.2363, allocations: 0.8278 MB / 0.7998 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.2363, allocations: 7.938 kB / 0.7998 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.243e-05/0.2364, allocations: 27.92 kB / 0.7998 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001779/0.2365, allocations: 76.92 kB / 0.7999 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008305/0.2374, allocations: 0.5696 MB / 0.8005 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003832/0.2412, allocations: 4.561 MB / 0.8049 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.2417, allocations: 299.3 kB / 0.8052 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.242, allocations: 225.3 kB / 0.8054 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.242, allocations: 4.281 kB / 0.8054 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.2421, allocations: 34.84 kB / 0.8055 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.2421, allocations: 0 / 0.8055 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.005239/0.2473, allocations: 2.635 MB / 0.808 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.2474, allocations: 59.41 kB / 0.8081 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004642/0.2478, allocations: 466 kB / 0.8085 GB, free: 3 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.2479, allocations: 29.7 kB / 0.8086 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.2481, allocations: 343.6 kB / 0.8089 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.807e-05/0.2482, allocations: 145.9 kB / 0.809 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.2484, allocations: 106.1 kB / 0.8091 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2485, allocations: 362.8 kB / 0.8095 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.2488, allocations: 244.9 kB / 0.8097 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.2493, allocations: 409.5 kB / 0.8101 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007943/0.2501, allocations: 0.67 MB / 0.8107 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2501, allocations: 8 kB / 0.8108 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001552/0.2517, allocations: 0.9253 MB / 0.8117 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2517, allocations: 11.98 kB / 0.8117 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.2517, allocations: 4 kB / 0.8117 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000742/0.2524, allocations: 226.4 kB / 0.8119 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.253, allocations: 115.8 kB / 0.812 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00478/0.2578, allocations: 5.343 MB / 0.8172 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/0.2582, allocations: 27.97 kB / 0.8172 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/0.2582, allocations: 24 kB / 0.8173 GB, free: 9.426 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002841/0.2585, allocations: 222 kB / 0.8175 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/0.2586, allocations: 67.27 kB / 0.8175 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.2601, allocations: 0.7589 MB / 0.8183 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2601, allocations: 11.98 kB / 0.8183 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2601, allocations: 4 kB / 0.8183 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2601, allocations: 0 / 0.8183 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.2623, allocations: 1.494 MB / 0.8198 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.2624, allocations: 4 kB / 0.8198 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.2627, allocations: 76.09 kB / 0.8198 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006401/0.2634, allocations: 202.3 kB / 0.82 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.2634, allocations: 12 kB / 0.82 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0047/0.2681, allocations: 5.278 MB / 0.8252 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2682, allocations: 3.938 kB / 0.8252 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.2699, allocations: 1.143 MB / 0.8263 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.2702, allocations: 168.3 kB / 0.8265 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.451e-05/0.2703, allocations: 20.05 kB / 0.8265 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.2706, allocations: 23.97 kB / 0.8265 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/0.2707, allocations: 35.89 kB / 0.8265 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.2707, allocations: 16 kB / 0.8266 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003486/0.2711, allocations: 310.9 kB / 0.8269 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2711, allocations: 0 / 0.8269 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006863/0.2718, allocations: 168 kB / 0.827 GB, free: 14.82 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001994/0.2738, allocations: 1.699 MB / 0.8287 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.2754, allocations: 1.005 MB / 0.8297 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.2754, allocations: 0 / 0.8297 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009454/0.2764, allocations: 0.6915 MB / 0.8303 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009762/0.2773, allocations: 183.3 kB / 0.8305 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007707/0.2851, allocations: 5.629 MB / 0.836 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.2856, allocations: 0.9455 MB / 0.8369 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003456/0.2859, allocations: 121 kB / 0.837 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.2862, allocations: 207.4 kB / 0.8372 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of SimCode: time 7.01e-07/0.2862, allocations: 0 / 0.8372 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03956/0.3258, allocations: 14.05 MB / 0.851 GB, free: 6.164 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.33, allocations: 12.16 kB / 0.851 GB, free: 6.156 MB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)