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.795/1.795, allocations: 288.4 MB / 303.3 MB, free: 8.129 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.001117/0.001117, allocations: 186.1 kB / 372 MB, free: 10.27 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.637/1.637, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0007843/0.0007843, allocations: 85.2 kB / 0.744 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004291/0.0004292, allocations: 11.06 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.219, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005589/0.2246, allocations: 6.025 MB / 0.9855 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003688/0.2283, allocations: 2.921 MB / 0.9884 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005741/0.229, allocations: 23.81 kB / 0.9884 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.2293, allocations: 134.9 kB / 0.9885 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008928/0.2302, allocations: 421.7 kB / 0.9889 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007594/0.231, allocations: 331.3 kB / 0.9893 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007859/0.2318, allocations: 1.33 MB / 0.9905 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.233, allocations: 0.9189 MB / 0.9914 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003638/0.2334, allocations: 394.4 kB / 0.9918 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004334/0.2338, allocations: 486.2 kB / 0.9923 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.905e-05/0.2339, allocations: 39.98 kB / 0.9923 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.2343, allocations: 179.8 kB / 0.9925 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.2345, allocations: 275.2 kB / 0.9928 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.2346, allocations: 177.2 kB / 0.9929 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005973/0.2352, allocations: 0.908 MB / 0.9938 GB, free: 13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2352, allocations: 4 kB / 0.9938 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2352, allocations: 0 / 0.9938 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.2353, allocations: 0 / 0.9938 GB, free: 12.99 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.001344/0.2366, allocations: 1.024 MB / 0.9948 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2367, allocations: 8.031 kB / 0.9948 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.2368, allocations: 122.4 kB / 0.9949 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.2382, allocations: 242.6 kB / 0.9952 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006383/0.2388, allocations: 0.5366 MB / 0.9957 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.2389, allocations: 45.3 kB / 0.9957 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.302e-05/0.239, allocations: 71.89 kB / 0.9958 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.2402, allocations: 1.073 MB / 0.9969 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.2403, allocations: 11.92 kB / 0.9969 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.367e-05/0.2403, allocations: 35.98 kB / 0.9969 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001402/0.2405, allocations: 81.27 kB / 0.997 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009787/0.2415, allocations: 0.7465 MB / 0.9977 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004244/0.2457, allocations: 5.89 MB / 1.003 GB, free: 2.477 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/0.2466, allocations: 0.5592 MB / 1.004 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.247, allocations: 330 kB / 1.004 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.247, allocations: 4.438 kB / 1.004 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.247, allocations: 50.94 kB / 1.004 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 2.435e-06/0.247, allocations: 0 / 1.004 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.003358/0.2504, allocations: 1.982 MB / 1.006 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.2504, allocations: 55.84 kB / 1.006 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006206/0.2511, allocations: 0.5664 MB / 1.007 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.2511, allocations: 33.7 kB / 1.007 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.2514, allocations: 422.9 kB / 1.007 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.2515, allocations: 165.6 kB / 1.008 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.2516, allocations: 12 kB / 1.008 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2517, allocations: 378.8 kB / 1.008 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/0.2522, allocations: 269.9 kB / 1.008 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005784/0.2527, allocations: 0.4892 MB / 1.009 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.2533, allocations: 342 kB / 1.009 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2533, allocations: 4 kB / 1.009 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001836/0.2551, allocations: 1.083 MB / 1.01 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.2552, allocations: 8 kB / 1.01 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2552, allocations: 8 kB / 1.01 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008204/0.256, allocations: 279.7 kB / 1.01 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.2565, allocations: 127.7 kB / 1.01 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005896/0.2624, allocations: 6.595 MB / 1.017 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.2629, allocations: 35.97 kB / 1.017 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.263, allocations: 28 kB / 1.017 GB, free: 3.875 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.00036/0.2634, allocations: 249.6 kB / 1.017 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.2635, allocations: 71.16 kB / 1.017 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.265, allocations: 0.8849 MB / 1.018 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.265, allocations: 7.938 kB / 1.018 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.265, allocations: 4 kB / 1.018 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.265, allocations: 3.984 kB / 1.018 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.2675, allocations: 1.732 MB / 1.02 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.2675, allocations: 16.12 kB / 1.02 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.2678, allocations: 55.89 kB / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007157/0.2685, allocations: 263.2 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.2685, allocations: 16.06 kB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005841/0.2744, allocations: 6.583 MB / 1.027 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.2744, allocations: 4.031 kB / 1.027 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.2759, allocations: 0.9835 MB / 1.028 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.2762, allocations: 192.2 kB / 1.028 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.901e-05/0.2762, allocations: 8 kB / 1.028 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.2766, allocations: 31.92 kB / 1.028 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/0.2767, allocations: 44.02 kB / 1.028 GB, free: 8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.2767, allocations: 16 kB / 1.028 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004433/0.2772, allocations: 383.1 kB / 1.028 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2772, allocations: 4 kB / 1.028 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007376/0.2779, allocations: 224 kB / 1.028 GB, free: 7.395 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.00175/0.2797, allocations: 1.548 MB / 1.03 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.2816, allocations: 1.267 MB / 1.031 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2816, allocations: 0 / 1.031 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.2828, allocations: 0.8894 MB / 1.032 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009546/0.2838, allocations: 204.4 kB / 1.032 GB, free: 3.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006305/0.2901, allocations: 4.421 MB / 1.037 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/0.2908, allocations: 1.013 MB / 1.037 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005728/0.2914, allocations: 122.1 kB / 1.038 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003552/0.2917, allocations: 255.3 kB / 1.038 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of SimCode: time 1.653e-06/0.2917, allocations: 0 / 1.038 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/0.3245, allocations: 16.36 MB / 1.054 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.3247, allocations: 243.8 kB / 1.054 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/2.673, allocations: 0 / 1.054 GB, free: 13.05 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)