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.001187/0.001187, allocations: 108 kB / 15.61 MB, free: 152 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.001177/0.001177, allocations: 194.2 kB / 16.53 MB, free: 6.699 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.384/1.384, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.637/1.637, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001743/0.001743, allocations: 66.64 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2254, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007798/0.2332, allocations: 5.512 MB / 0.7889 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004507/0.2378, allocations: 2.659 MB / 0.7915 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005718/0.2384, allocations: 23.81 kB / 0.7915 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002031/0.2405, allocations: 0.6768 MB / 0.7921 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.2416, allocations: 413.7 kB / 0.7925 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.2427, allocations: 407 kB / 0.7929 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001325/0.2441, allocations: 0.9552 MB / 0.7939 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008503/0.2449, allocations: 470.7 kB / 0.7943 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007261/0.2457, allocations: 370.6 kB / 0.7947 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007149/0.2464, allocations: 402.4 kB / 0.795 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.2466, allocations: 48 kB / 0.7951 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008789/0.2474, allocations: 359.3 kB / 0.7954 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003268/0.2478, allocations: 251.2 kB / 0.7957 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005148/0.2483, allocations: 354.2 kB / 0.796 GB, free: 496 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.2497, allocations: 0.9656 MB / 0.797 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2497, allocations: 4 kB / 0.797 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.562e-06/0.2497, allocations: 0 / 0.797 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.78e-05/0.2498, allocations: 0 / 0.797 GB, free: 15.51 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.002098/0.2519, allocations: 0.9775 MB / 0.7979 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2519, allocations: 8.031 kB / 0.7979 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.2521, allocations: 102.7 kB / 0.798 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.2536, allocations: 191.9 kB / 0.7982 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007529/0.2543, allocations: 498.3 kB / 0.7987 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.2544, allocations: 41.36 kB / 0.7987 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.2546, allocations: 52.56 kB / 0.7988 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.2557, allocations: 0.8284 MB / 0.7996 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.2558, allocations: 3.938 kB / 0.7996 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-05/0.2558, allocations: 23.98 kB / 0.7996 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001937/0.256, allocations: 68.95 kB / 0.7997 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009049/0.257, allocations: 0.5736 MB / 0.8002 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004529/0.2615, allocations: 4.585 MB / 0.8047 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.262, allocations: 301.8 kB / 0.805 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.2623, allocations: 225.3 kB / 0.8052 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.2623, allocations: 4.281 kB / 0.8052 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.2624, allocations: 34.84 kB / 0.8052 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 3.076e-06/0.2624, allocations: 0 / 0.8052 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.005617/0.268, allocations: 2.634 MB / 0.8078 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.2681, allocations: 55.41 kB / 0.8079 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005068/0.2686, allocations: 466 kB / 0.8083 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.2686, allocations: 41.7 kB / 0.8084 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.2689, allocations: 343.6 kB / 0.8087 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.269, allocations: 138 kB / 0.8088 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.2691, allocations: 106.2 kB / 0.8089 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2693, allocations: 362.8 kB / 0.8093 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.2697, allocations: 241 kB / 0.8095 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004597/0.2701, allocations: 413.4 kB / 0.8099 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008614/0.271, allocations: 0.674 MB / 0.8105 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.271, allocations: 4 kB / 0.8105 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001715/0.2727, allocations: 0.9169 MB / 0.8114 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.2728, allocations: 8.656 kB / 0.8115 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.2728, allocations: 8 kB / 0.8115 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008097/0.2736, allocations: 230.3 kB / 0.8117 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/0.2741, allocations: 119.8 kB / 0.8118 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005452/0.2796, allocations: 5.343 MB / 0.817 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/0.2801, allocations: 35.97 kB / 0.817 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.2802, allocations: 20 kB / 0.8171 GB, free: 9.598 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.0003693/0.2806, allocations: 221.9 kB / 0.8173 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.2807, allocations: 59.28 kB / 0.8173 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.2823, allocations: 0.7667 MB / 0.8181 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2823, allocations: 4 kB / 0.8181 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2823, allocations: 4 kB / 0.8181 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2824, allocations: 7.984 kB / 0.8181 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.2848, allocations: 1.502 MB / 0.8196 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.2848, allocations: 0 / 0.8196 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003668/0.2852, allocations: 67.88 kB / 0.8196 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006882/0.2858, allocations: 210.6 kB / 0.8198 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.2859, allocations: 8.188 kB / 0.8198 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004776/0.2907, allocations: 5.278 MB / 0.825 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2907, allocations: 4.031 kB / 0.825 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.2925, allocations: 1.146 MB / 0.8261 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.2928, allocations: 172.5 kB / 0.8263 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.35e-05/0.2929, allocations: 8 kB / 0.8263 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.2932, allocations: 28.03 kB / 0.8263 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.2933, allocations: 47.81 kB / 0.8264 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.2934, allocations: 12 kB / 0.8264 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000414/0.2938, allocations: 318.9 kB / 0.8267 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2938, allocations: 0 / 0.8267 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007071/0.2945, allocations: 164 kB / 0.8268 GB, free: 14.98 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.002116/0.2966, allocations: 1.695 MB / 0.8285 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.2984, allocations: 1.06 MB / 0.8295 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2985, allocations: 0 / 0.8295 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009996/0.2995, allocations: 0.6837 MB / 0.8302 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000961/0.3004, allocations: 189.1 kB / 0.8304 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008293/0.3087, allocations: 5.714 MB / 0.836 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.3094, allocations: 0.9493 MB / 0.8369 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004371/0.3099, allocations: 117 kB / 0.837 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.3101, allocations: 211.4 kB / 0.8372 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of SimCode: time 2.324e-06/0.3101, allocations: 0 / 0.8372 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4867/0.7969, allocations: 14.02 MB / 0.8509 GB, free: 6.195 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.533/10.33, allocations: 5.281 kB / 0.8509 GB, free: 6.191 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)