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.402/1.402, allocations: 288.4 MB / 303.6 MB, free: 8.055 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.0008552/0.0008552, allocations: 190.6 kB / 372.3 MB, free: 10.13 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.162/1.162, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0008034/0.0008034, allocations: 94.3 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003602, allocations: 12.53 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1843, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0265/0.2108, allocations: 31.92 MB / 1.011 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01575/0.2266, allocations: 9.569 MB / 1.021 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003474/0.2302, allocations: 123.3 kB / 1.021 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.233, allocations: 0.682 MB / 1.022 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005551/0.2385, allocations: 1.749 MB / 1.023 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004273/0.2428, allocations: 1.207 MB / 1.024 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01023/0.2531, allocations: 8.932 MB / 1.033 GB, free: 4.918 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01761/0.2707, allocations: 11.99 MB / 1.045 GB, free: 8.828 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004969/0.2757, allocations: 2.436 MB / 1.047 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005323/0.2811, allocations: 3.126 MB / 1.05 GB, free: 3.246 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0009289/0.282, allocations: 280 kB / 1.051 GB, free: 2.973 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/0.2851, allocations: 1.22 MB / 1.052 GB, free: 1.75 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002187/0.2873, allocations: 2.089 MB / 1.054 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003533/0.2908, allocations: 2.42 MB / 1.056 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008818/0.2996, allocations: 8.591 MB / 1.064 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2997, allocations: 0 / 1.064 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2997, allocations: 0 / 1.064 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002972/0.3, allocations: 0 / 1.064 GB, free: 4.605 MB / 0.6823 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.008721/0.3087, allocations: 4.352 MB / 1.069 GB, free: 188 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3088, allocations: 15.97 kB / 1.069 GB, free: 172 kB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3874/0.6962, allocations: 0.6985 MB / 1.069 GB, free: 81.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005981/0.7022, allocations: 0.962 MB / 1.07 GB, free: 81.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006983/0.7092, allocations: 2.995 MB / 1.073 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005617/0.7098, allocations: 360.2 kB / 1.074 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001779/0.7116, allocations: 473.5 kB / 1.074 GB, free: 79.94 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/0.732, allocations: 7.862 MB / 1.082 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001669/0.7322, allocations: 29.14 kB / 1.082 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009797/0.7332, allocations: 206.5 kB / 1.082 GB, free: 76.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006524/0.7338, allocations: 372.8 kB / 1.082 GB, free: 76.31 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0138/0.7477, allocations: 5.894 MB / 1.088 GB, free: 74.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03692/0.7846, allocations: 36.27 MB / 1.124 GB, free: 42.28 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003156/0.7878, allocations: 2.129 MB / 1.126 GB, free: 41.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.7897, allocations: 1.486 MB / 1.127 GB, free: 40.44 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.7899, allocations: 17.16 kB / 1.127 GB, free: 40.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.7899, allocations: 52.16 kB / 1.127 GB, free: 40.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=157): time 3.918e-06/0.7899, allocations: 2.625 kB / 1.127 GB, free: 40.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.01409/0.804, allocations: 7.552 MB / 1.135 GB, free: 35.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.8041, allocations: 68.03 kB / 1.135 GB, free: 35.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00341/0.8075, allocations: 1.839 MB / 1.136 GB, free: 34.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002267/0.8078, allocations: 56.8 kB / 1.136 GB, free: 34.36 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.809, allocations: 2.128 MB / 1.139 GB, free: 32.49 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005539/0.8095, allocations: 0.5572 MB / 1.139 GB, free: 32.01 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.8097, allocations: 40.75 kB / 1.139 GB, free: 31.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.8099, allocations: 394.7 kB / 1.139 GB, free: 31.61 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.8114, allocations: 1.057 MB / 1.141 GB, free: 31.05 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/0.8135, allocations: 1.752 MB / 1.142 GB, free: 29.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003589/0.8171, allocations: 3.041 MB / 1.145 GB, free: 27.36 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.074e-05/0.8171, allocations: 7.906 kB / 1.145 GB, free: 27.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005966/0.8231, allocations: 3.901 MB / 1.149 GB, free: 24.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.8232, allocations: 17.72 kB / 1.149 GB, free: 24.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-05/0.8232, allocations: 20.84 kB / 1.149 GB, free: 24.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00219/0.8254, allocations: 0.922 MB / 1.15 GB, free: 23.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.8269, allocations: 431.2 kB / 1.15 GB, free: 23.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/0.842, allocations: 21.07 MB / 1.171 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/0.8445, allocations: 123.9 kB / 1.171 GB, free: 476 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003312/0.8448, allocations: 99.94 kB / 1.171 GB, free: 376 kB / 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.003448/0.8483, allocations: 1.642 MB / 1.173 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009289/0.8492, allocations: 256.8 kB / 1.173 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005828/0.855, allocations: 3.256 MB / 1.176 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.8551, allocations: 16 kB / 1.176 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.385e-05/0.8551, allocations: 8 kB / 1.176 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.945e-05/0.8552, allocations: 11.97 kB / 1.176 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/0.8683, allocations: 7.542 MB / 1.184 GB, free: 3.461 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.8684, allocations: 4 kB / 1.184 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008987/0.8693, allocations: 216.2 kB / 1.184 GB, free: 3.246 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002235/0.8715, allocations: 0.8921 MB / 1.185 GB, free: 2.316 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/0.8717, allocations: 36 kB / 1.185 GB, free: 2.281 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01722/0.889, allocations: 21.02 MB / 1.205 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.889, allocations: 4 kB / 1.205 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005408/0.8944, allocations: 3.373 MB / 1.209 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/0.8958, allocations: 0.5369 MB / 1.209 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005329/0.8963, allocations: 32 kB / 1.209 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.8977, allocations: 91.89 kB / 1.209 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000361/0.8981, allocations: 141 kB / 1.209 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.8982, allocations: 48 kB / 1.209 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001693/0.8999, allocations: 1.205 MB / 1.211 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8999, allocations: 0 / 1.211 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002894/0.9028, allocations: 0.9023 MB / 1.211 GB, free: 5.203 MB / 0.7292 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.005139/0.9079, allocations: 3.981 MB / 1.215 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005878/0.9138, allocations: 4.415 MB / 1.22 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.9139, allocations: 0 / 1.22 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003739/0.9176, allocations: 2.997 MB / 1.223 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004742/0.9224, allocations: 0.7455 MB / 1.223 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03489/0.9573, allocations: 21.53 MB / 1.244 GB, free: 1.633 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003915/0.9612, allocations: 3.205 MB / 1.247 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001945/0.9632, allocations: 0.5254 MB / 1.248 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001893/0.9651, allocations: 1.659 MB / 1.25 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.9651, allocations: 0 / 1.25 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.997/7.962, allocations: 69.28 MB / 1.317 GB, free: 7.645 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/7.962, allocations: 234.1 kB / 1.317 GB, free: 7.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.555/13.52, allocations: 4 kB / 1.317 GB, free: 7.406 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)