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_R.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_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.661/1.661, allocations: 288.2 MB / 303.2 MB, free: 8.156 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.001241/0.001241, allocations: 188.3 kB / 371.8 MB, free: 10.33 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.56/1.56, allocations: 205.4 MB / 0.6305 GB, free: 10.06 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.0009173/0.0009171, allocations: 94.67 kB / 0.7439 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005166/0.0005166, allocations: 11.19 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2221, allocations: 115.3 MB / 0.9795 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005221/0.2274, allocations: 5.777 MB / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003663/0.2311, allocations: 2.925 MB / 0.988 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004216/0.2316, allocations: 23.81 kB / 0.988 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.2318, allocations: 127.1 kB / 0.9881 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008511/0.2327, allocations: 418.7 kB / 0.9885 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.2335, allocations: 334 kB / 0.9888 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006544/0.2342, allocations: 0.7428 MB / 0.9896 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.2354, allocations: 0.9249 MB / 0.9905 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003705/0.2358, allocations: 350.7 kB / 0.9908 GB, free: 16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000436/0.2363, allocations: 402.5 kB / 0.9912 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.053e-05/0.2363, allocations: 36 kB / 0.9912 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.2367, allocations: 147.8 kB / 0.9914 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.2368, allocations: 251.2 kB / 0.9916 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.237, allocations: 177.3 kB / 0.9918 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005904/0.2376, allocations: 0.869 MB / 0.9926 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2376, allocations: 0 / 0.9926 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2376, allocations: 4 kB / 0.9926 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.2376, allocations: 0 / 0.9926 GB, free: 14.12 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00142/0.239, allocations: 1.002 MB / 0.9936 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.2391, allocations: 12.03 kB / 0.9936 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.2392, allocations: 118.5 kB / 0.9937 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.2404, allocations: 230.6 kB / 0.9939 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007458/0.2411, allocations: 0.5288 MB / 0.9945 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.2412, allocations: 49.31 kB / 0.9945 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.197e-05/0.2413, allocations: 67.92 kB / 0.9946 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.2424, allocations: 1.073 MB / 0.9956 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.2425, allocations: 15.84 kB / 0.9956 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.2425, allocations: 24 kB / 0.9957 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/0.2427, allocations: 85.25 kB / 0.9957 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009352/0.2436, allocations: 0.7426 MB / 0.9965 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00401/0.2476, allocations: 5.901 MB / 1.002 GB, free: 3.648 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008164/0.2485, allocations: 0.5583 MB / 1.003 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.2485, allocations: 4.438 kB / 1.003 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.2485, allocations: 46.94 kB / 1.003 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 2.053e-06/0.2486, allocations: 0 / 1.003 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.00327/0.2518, allocations: 1.98 MB / 1.005 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.2519, allocations: 59.84 kB / 1.005 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/0.2523, allocations: 0.5586 MB / 1.005 GB, free: 312 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.2524, allocations: 37.7 kB / 1.005 GB, free: 268 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.2526, allocations: 419.1 kB / 1.006 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.2527, allocations: 173.6 kB / 1.006 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.2528, allocations: 12 kB / 1.006 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2529, allocations: 370.8 kB / 1.006 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/0.2534, allocations: 273.8 kB / 1.007 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.2539, allocations: 496.9 kB / 1.007 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/0.2544, allocations: 342 kB / 1.007 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2544, allocations: 4 kB / 1.007 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001776/0.2562, allocations: 1.083 MB / 1.008 GB, free: 13 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.2562, allocations: 8 kB / 1.008 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.2563, allocations: 8 kB / 1.008 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008534/0.2571, allocations: 283.6 kB / 1.009 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.2576, allocations: 127.7 kB / 1.009 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006277/0.2639, allocations: 6.701 MB / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/0.2645, allocations: 36.03 kB / 1.015 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.2646, allocations: 32 kB / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000385/0.265, allocations: 258.4 kB / 1.016 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.2651, allocations: 71.16 kB / 1.016 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.2668, allocations: 0.8848 MB / 1.017 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2668, allocations: 4 kB / 1.017 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2668, allocations: 4 kB / 1.017 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.2668, allocations: 0 / 1.017 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/0.2696, allocations: 1.724 MB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2696, allocations: 192 / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.2699, allocations: 67.84 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007933/0.2707, allocations: 267.6 kB / 1.019 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.2707, allocations: 12 kB / 1.019 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006424/0.2772, allocations: 6.693 MB / 1.025 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2772, allocations: 0 / 1.025 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.279, allocations: 1.052 MB / 1.026 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.2794, allocations: 192.2 kB / 1.026 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.2795, allocations: 8 kB / 1.026 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.2798, allocations: 35.91 kB / 1.026 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.28, allocations: 47.83 kB / 1.027 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.28, allocations: 16 kB / 1.027 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000498/0.2805, allocations: 387.1 kB / 1.027 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2805, allocations: 0 / 1.027 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008234/0.2813, allocations: 224 kB / 1.027 GB, free: 8.586 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001975/0.2833, allocations: 2.026 MB / 1.029 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001985/0.2853, allocations: 1.268 MB / 1.03 GB, free: 5.164 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.2854, allocations: 4.125 kB / 1.03 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.2867, allocations: 0.8853 MB / 1.031 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009503/0.2876, allocations: 197.4 kB / 1.031 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008073/0.2957, allocations: 8.932 MB / 1.04 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006207/0.2964, allocations: 1.028 MB / 1.041 GB, free: 9.828 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004729/0.2968, allocations: 122 kB / 1.041 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.2972, allocations: 255.3 kB / 1.041 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of SimCode: time 4.6e-07/0.2972, allocations: 0 / 1.041 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.3294, allocations: 16.33 MB / 1.057 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.3297, allocations: 231.9 kB / 1.058 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/2.665, allocations: 5.391 kB / 1.058 GB, free: 9.191 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)