Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.975/1.975, allocations: 288.4 MB / 303.3 MB, free: 8.141 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.001464/0.001464, allocations: 176.5 kB / 372 MB, free: 10.29 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.666/1.666, allocations: 205.4 MB / 0.6307 GB, free: 9.922 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.0007173/0.0007173, allocations: 89.03 kB / 0.744 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004837, allocations: 11.06 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2183, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005406/0.2238, allocations: 4.879 MB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004086/0.2279, allocations: 2.504 MB / 0.9869 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006669/0.2286, allocations: 19.88 kB / 0.9869 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004362/0.2291, allocations: 103.1 kB / 0.987 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.2303, allocations: 334.2 kB / 0.9873 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009859/0.2313, allocations: 305.3 kB / 0.9876 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.2324, allocations: 1.041 MB / 0.9886 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.2338, allocations: 0.7515 MB / 0.9893 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006144/0.2344, allocations: 306.7 kB / 0.9896 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006153/0.235, allocations: 374.6 kB / 0.99 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.832e-05/0.2351, allocations: 28 kB / 0.99 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005627/0.2357, allocations: 187.7 kB / 0.9902 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.2359, allocations: 215.4 kB / 0.9904 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.2361, allocations: 145.3 kB / 0.9905 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000804/0.2369, allocations: 0.7288 MB / 0.9913 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.237, allocations: 0 / 0.9913 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.186e-06/0.237, allocations: 0 / 0.9913 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.722e-05/0.237, allocations: 3.938 kB / 0.9913 GB, free: 15.61 MB / 0.6198 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.001442/0.2385, allocations: 0.8539 MB / 0.9921 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2385, allocations: 8.031 kB / 0.9921 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.2386, allocations: 102.5 kB / 0.9922 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.24, allocations: 195 kB / 0.9924 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006835/0.2407, allocations: 485.4 kB / 0.9928 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.2407, allocations: 33 kB / 0.9929 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.2409, allocations: 59.92 kB / 0.9929 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.2419, allocations: 0.8277 MB / 0.9937 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.2419, allocations: 4 kB / 0.9937 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.588e-05/0.242, allocations: 20 kB / 0.9938 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001861/0.2422, allocations: 68.94 kB / 0.9938 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008306/0.243, allocations: 0.5735 MB / 0.9944 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/0.2464, allocations: 4.589 MB / 0.9989 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.2468, allocations: 299.2 kB / 0.9992 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.2471, allocations: 229.3 kB / 0.9994 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.2471, allocations: 4.281 kB / 0.9994 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.2471, allocations: 38.77 kB / 0.9994 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.2471, allocations: 0 / 0.9994 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.004933/0.2521, allocations: 2.618 MB / 1.002 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.2521, allocations: 67.33 kB / 1.002 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.2525, allocations: 458 kB / 1.002 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.2526, allocations: 33.7 kB / 1.003 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.2527, allocations: 339.6 kB / 1.003 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.556e-05/0.2528, allocations: 149.9 kB / 1.003 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.2528, allocations: 12 kB / 1.003 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.925e-05/0.2529, allocations: 362.8 kB / 1.003 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.2532, allocations: 233 kB / 1.004 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.2536, allocations: 406.5 kB / 1.004 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.2539, allocations: 297.4 kB / 1.004 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.254, allocations: 0 / 1.004 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001483/0.2554, allocations: 0.9211 MB / 1.005 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.2555, allocations: 8 kB / 1.005 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.2555, allocations: 4.656 kB / 1.005 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007474/0.2562, allocations: 226.3 kB / 1.005 GB, free: 348 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004896/0.2567, allocations: 115.8 kB / 1.005 GB, free: 232 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005073/0.2618, allocations: 4.938 MB / 1.01 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007/0.2626, allocations: 31.97 kB / 1.01 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.2626, allocations: 20 kB / 1.01 GB, free: 10.84 MB / 0.6355 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.00045/0.2631, allocations: 235.4 kB / 1.011 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/0.2632, allocations: 55.34 kB / 1.011 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.2647, allocations: 0.7704 MB / 1.011 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2647, allocations: 4 kB / 1.011 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2648, allocations: 4 kB / 1.011 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.2648, allocations: 3.953 kB / 1.011 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/0.2673, allocations: 1.491 MB / 1.013 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2673, allocations: 8.156 kB / 1.013 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.2677, allocations: 63.95 kB / 1.013 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006793/0.2684, allocations: 206.3 kB / 1.013 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.2685, allocations: 15.98 kB / 1.013 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004523/0.273, allocations: 4.868 MB / 1.018 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.273, allocations: 7.938 kB / 1.018 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.275, allocations: 1.135 MB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.2753, allocations: 176.5 kB / 1.019 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.533e-05/0.2754, allocations: 19.92 kB / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.2757, allocations: 23.97 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/0.2758, allocations: 43.91 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.2758, allocations: 12 kB / 1.019 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000335/0.2762, allocations: 314.9 kB / 1.02 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2762, allocations: 0 / 1.02 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006618/0.2769, allocations: 164 kB / 1.02 GB, free: 0.6562 MB / 0.6355 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.002123/0.279, allocations: 1.68 MB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.2806, allocations: 1.001 MB / 1.022 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.2807, allocations: 4 kB / 1.022 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009433/0.2816, allocations: 0.6798 MB / 1.023 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009175/0.2825, allocations: 172.8 kB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005472/0.288, allocations: 3.85 MB / 1.027 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.2885, allocations: 0.9494 MB / 1.028 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004017/0.2889, allocations: 112.9 kB / 1.028 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.2892, allocations: 211.4 kB / 1.028 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of SimCode: time 6.92e-07/0.2892, allocations: 8 kB / 1.028 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.3176, allocations: 13.3 MB / 1.041 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/0.3179, allocations: 238.9 kB / 1.041 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/2.648, allocations: 0 / 1.041 GB, free: 10.45 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)