Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.643/1.643, allocations: 288.2 MB / 303.2 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.001145/0.001145, allocations: 189.8 kB / 371.8 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.627/1.627, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.0009375/0.0009373, allocations: 93.58 kB / 0.7439 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.0004449, allocations: 12.66 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.259, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02599/0.2851, allocations: 30.61 MB / 1.009 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01698/0.3021, allocations: 9.661 MB / 1.019 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003913/0.3061, allocations: 119.2 kB / 1.019 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002581/0.3087, allocations: 0.6754 MB / 1.02 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006382/0.3151, allocations: 1.569 MB / 1.021 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004715/0.3198, allocations: 1.175 MB / 1.022 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00778/0.3276, allocations: 3.889 MB / 1.026 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0186/0.3463, allocations: 10.38 MB / 1.036 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005039/0.3514, allocations: 2.125 MB / 1.038 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00491/0.3563, allocations: 2.207 MB / 1.04 GB, free: 13 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001665/0.358, allocations: 280 kB / 1.041 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.3612, allocations: 0.5268 MB / 1.041 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003781/0.365, allocations: 1.929 MB / 1.043 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002898/0.368, allocations: 1.03 MB / 1.044 GB, free: 9.23 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.3793, allocations: 8.408 MB / 1.052 GB, free: 0.8008 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3794, allocations: 0 / 1.052 GB, free: 0.8008 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.657e-06/0.3794, allocations: 4 kB / 1.052 GB, free: 0.7969 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004296/0.3798, allocations: 0 / 1.052 GB, free: 0.7969 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0125/0.3923, allocations: 4.367 MB / 1.057 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.3924, allocations: 8.031 kB / 1.057 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002653/0.3951, allocations: 0.7021 MB / 1.057 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0055/0.4006, allocations: 0.9072 MB / 1.058 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007708/0.4083, allocations: 2.929 MB / 1.061 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003412/0.4087, allocations: 353.6 kB / 1.061 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001702/0.4104, allocations: 471.8 kB / 1.062 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5781/0.9886, allocations: 7.82 MB / 1.069 GB, free: 77.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003113/0.989, allocations: 16.19 kB / 1.069 GB, free: 77.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001566/0.9906, allocations: 215 kB / 1.07 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008952/0.9915, allocations: 364.3 kB / 1.07 GB, free: 77.01 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01804/1.01, allocations: 5.901 MB / 1.076 GB, free: 75.03 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05051/1.06, allocations: 36.25 MB / 1.111 GB, free: 45.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00367/1.064, allocations: 2.146 MB / 1.113 GB, free: 44.08 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/1.064, allocations: 20.78 kB / 1.113 GB, free: 44.08 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/1.064, allocations: 51.84 kB / 1.113 GB, free: 44.03 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=157): time 3.948e-06/1.064, allocations: 0 / 1.113 GB, free: 44.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.01496/1.079, allocations: 7.527 MB / 1.121 GB, free: 39.15 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/1.079, allocations: 76.5 kB / 1.121 GB, free: 39.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/1.082, allocations: 1.839 MB / 1.123 GB, free: 38.06 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002928/1.082, allocations: 57.64 kB / 1.123 GB, free: 38.01 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001091/1.083, allocations: 2.121 MB / 1.125 GB, free: 36.15 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006066/1.084, allocations: 0.5626 MB / 1.125 GB, free: 35.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/1.084, allocations: 43.91 kB / 1.125 GB, free: 35.63 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.084, allocations: 386.2 kB / 1.126 GB, free: 35.27 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/1.086, allocations: 1.054 MB / 1.127 GB, free: 34.71 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/1.088, allocations: 1.748 MB / 1.128 GB, free: 33.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/1.09, allocations: 1.349 MB / 1.13 GB, free: 32.49 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/1.09, allocations: 9.891 kB / 1.13 GB, free: 32.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007115/1.097, allocations: 3.899 MB / 1.134 GB, free: 30.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/1.097, allocations: 13.72 kB / 1.134 GB, free: 30.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-05/1.097, allocations: 22.16 kB / 1.134 GB, free: 30.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002636/1.1, allocations: 0.9311 MB / 1.134 GB, free: 29.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/1.102, allocations: 428.6 kB / 1.135 GB, free: 29.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01787/1.12, allocations: 21.43 MB / 1.156 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/1.122, allocations: 122.8 kB / 1.156 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002528/1.123, allocations: 98.47 kB / 1.156 GB, free: 10.07 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002913/1.125, allocations: 1.653 MB / 1.158 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005761/1.126, allocations: 248.7 kB / 1.158 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004936/1.131, allocations: 3.254 MB / 1.161 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/1.131, allocations: 18.36 kB / 1.161 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/1.131, allocations: 10.78 kB / 1.161 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/1.131, allocations: 7.969 kB / 1.161 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/1.143, allocations: 7.539 MB / 1.168 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/1.143, allocations: 4 kB / 1.168 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008926/1.144, allocations: 219.6 kB / 1.169 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002116/1.146, allocations: 0.8953 MB / 1.17 GB, free: 348 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/1.146, allocations: 32 kB / 1.17 GB, free: 316 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02028/1.167, allocations: 21.38 MB / 1.19 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/1.167, allocations: 4 kB / 1.19 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006538/1.173, allocations: 3.707 MB / 1.194 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001837/1.175, allocations: 0.5292 MB / 1.195 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004056/1.176, allocations: 39.98 kB / 1.195 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.177, allocations: 95.89 kB / 1.195 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003931/1.177, allocations: 137 kB / 1.195 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/1.177, allocations: 48 kB / 1.195 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001846/1.179, allocations: 1.201 MB / 1.196 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.71e-07/1.179, allocations: 0 / 1.196 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004004/1.183, allocations: 0.9101 MB / 1.197 GB, free: 2.414 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007039/1.19, allocations: 5.418 MB / 1.202 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007514/1.198, allocations: 4.411 MB / 1.207 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.198, allocations: 1 kB / 1.207 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004606/1.203, allocations: 3.002 MB / 1.209 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004249/1.207, allocations: 0.7397 MB / 1.21 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05257/1.259, allocations: 36.51 MB / 1.246 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005012/1.265, allocations: 3.297 MB / 1.249 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002442/1.267, allocations: 0.5215 MB / 1.25 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002241/1.269, allocations: 1.663 MB / 1.251 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of SimCode: time 3.216e-06/1.269, allocations: 0 / 1.251 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/1.391, allocations: 68.68 MB / 1.318 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/1.391, allocations: 237.1 kB / 1.318 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.898/5.289, allocations: 0 / 1.318 GB, free: 4.512 MB / 0.8386 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)