Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.545/1.545, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001437, allocations: 188.5 kB / 326.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.4 MB / 0.5777 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008804/0.0008803, allocations: 87.81 kB / 0.6822 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003559, allocations: 12.94 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2396, allocations: 106.3 MB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005152/0.2449, allocations: 4.891 MB / 0.9051 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004234/0.2491, allocations: 2.519 MB / 0.9075 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007554/0.2499, allocations: 19.81 kB / 0.9076 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.2505, allocations: 107.1 kB / 0.9077 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.2518, allocations: 334.2 kB / 0.908 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.253, allocations: 299.3 kB / 0.9083 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001529/0.2545, allocations: 1.041 MB / 0.9093 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/0.2563, allocations: 0.7461 MB / 0.91 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006925/0.257, allocations: 314.7 kB / 0.9103 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006789/0.2577, allocations: 374.6 kB / 0.9107 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.2578, allocations: 24 kB / 0.9107 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007191/0.2586, allocations: 187.7 kB / 0.9109 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.2588, allocations: 215.4 kB / 0.9111 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.2591, allocations: 145.3 kB / 0.9112 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008323/0.2599, allocations: 0.7171 MB / 0.9119 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2599, allocations: 4 kB / 0.9119 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2599, allocations: 4 kB / 0.9119 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.983e-05/0.26, allocations: 0 / 0.9119 GB, free: 52.37 MB / 0.6042 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.00147/0.2614, allocations: 0.8529 MB / 0.9128 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.2615, allocations: 12.03 kB / 0.9128 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.2616, allocations: 98.5 kB / 0.9129 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.263, allocations: 198.9 kB / 0.9131 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006655/0.2636, allocations: 485.4 kB / 0.9135 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.2637, allocations: 40.92 kB / 0.9136 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.2638, allocations: 55.95 kB / 0.9136 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009925/0.2648, allocations: 0.8239 MB / 0.9144 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.2649, allocations: 7.906 kB / 0.9144 GB, free: 49.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.178e-05/0.2649, allocations: 23.98 kB / 0.9144 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001661/0.2651, allocations: 68.94 kB / 0.9145 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007459/0.2659, allocations: 0.5696 MB / 0.9151 GB, free: 48.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/0.2692, allocations: 4.589 MB / 0.9196 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.2696, allocations: 295.2 kB / 0.9198 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.2699, allocations: 225.3 kB / 0.92 GB, free: 43.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.2699, allocations: 4.281 kB / 0.9201 GB, free: 43.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.2699, allocations: 42.8 kB / 0.9201 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/0.2699, allocations: 0 / 0.9201 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.004864/0.2748, allocations: 2.63 MB / 0.9227 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.2749, allocations: 59.41 kB / 0.9227 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.2753, allocations: 454 kB / 0.9232 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.2753, allocations: 37.7 kB / 0.9232 GB, free: 40.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.2755, allocations: 347.6 kB / 0.9235 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.352e-05/0.2756, allocations: 137.9 kB / 0.9236 GB, free: 39.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.2756, allocations: 16 kB / 0.9237 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.2757, allocations: 358.8 kB / 0.924 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.276, allocations: 241 kB / 0.9242 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.2764, allocations: 404.5 kB / 0.9246 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.2767, allocations: 297.5 kB / 0.9249 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2768, allocations: 4 kB / 0.9249 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001467/0.2782, allocations: 0.9103 MB / 0.9258 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.2783, allocations: 11.94 kB / 0.9258 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.2783, allocations: 12.03 kB / 0.9258 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007806/0.2791, allocations: 226.4 kB / 0.926 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.2796, allocations: 119.8 kB / 0.9262 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004096/0.2837, allocations: 4.919 MB / 0.931 GB, free: 31.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/0.2843, allocations: 27.97 kB / 0.931 GB, free: 31.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.183e-05/0.2844, allocations: 24 kB / 0.931 GB, free: 31.6 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003299/0.2847, allocations: 229.7 kB / 0.9312 GB, free: 31.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.2849, allocations: 63.2 kB / 0.9313 GB, free: 31.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.2862, allocations: 0.7695 MB / 0.932 GB, free: 30.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2862, allocations: 4 kB / 0.932 GB, free: 30.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.2862, allocations: 3.953 kB / 0.932 GB, free: 30.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2862, allocations: 4.125 kB / 0.932 GB, free: 30.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.2885, allocations: 1.498 MB / 0.9335 GB, free: 28.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.2885, allocations: 12.11 kB / 0.9335 GB, free: 28.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003929/0.2889, allocations: 71.88 kB / 0.9336 GB, free: 28.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007144/0.2896, allocations: 206.5 kB / 0.9338 GB, free: 28.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.2897, allocations: 15.95 kB / 0.9338 GB, free: 28.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004127/0.2938, allocations: 4.86 MB / 0.9385 GB, free: 23.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2939, allocations: 0 / 0.9385 GB, free: 23.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.2954, allocations: 1.136 MB / 0.9397 GB, free: 22.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.2958, allocations: 164.4 kB / 0.9398 GB, free: 21.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.296, allocations: 16 kB / 0.9398 GB, free: 21.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.2964, allocations: 23.92 kB / 0.9399 GB, free: 21.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.2965, allocations: 39.95 kB / 0.9399 GB, free: 21.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.2965, allocations: 16 kB / 0.9399 GB, free: 21.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003859/0.2969, allocations: 310.9 kB / 0.9402 GB, free: 21.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2969, allocations: 0 / 0.9402 GB, free: 21.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008431/0.2977, allocations: 168 kB / 0.9404 GB, free: 21.43 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001881/0.2996, allocations: 1.689 MB / 0.942 GB, free: 19.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.3012, allocations: 1.004 MB / 0.943 GB, free: 18.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3012, allocations: 0 / 0.943 GB, free: 18.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008447/0.3021, allocations: 0.6837 MB / 0.9437 GB, free: 17.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009794/0.3031, allocations: 176.9 kB / 0.9438 GB, free: 17.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005115/0.3082, allocations: 3.85 MB / 0.9476 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.3086, allocations: 0.9533 MB / 0.9485 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003793/0.309, allocations: 117 kB / 0.9486 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.3092, allocations: 207.4 kB / 0.9488 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of SimCode: time 9.01e-07/0.3093, allocations: 0 / 0.9488 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.3353, allocations: 13.31 MB / 0.9618 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/0.3356, allocations: 237.6 kB / 0.9621 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/2.672, allocations: 0 / 0.9621 GB, free: 15.21 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)