Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.424/2.424, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001587/0.001587, allocations: 180.8 kB / 360.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.2 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 88.59 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.592e-05/3.617e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8454/0.8455, allocations: 115.3 MB / 0.9634 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3161/1.162, allocations: 191.7 MB / 1.151 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003929/1.162, allocations: 99.5 kB / 1.151 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.355/1.517, allocations: 66.06 MB / 1.215 GB, free: 10.01 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.364e-06/1.517, allocations: 0 / 1.215 GB, free: 10.01 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001393/1.517, allocations: 39.98 kB / 1.215 GB, free: 9.973 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.006432/1.524, allocations: 1.676 MB / 1.217 GB, free: 8.246 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/1.524, allocations: 8.031 kB / 1.217 GB, free: 8.238 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00556/1.529, allocations: 0.6612 MB / 1.218 GB, free: 7.574 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004578/1.534, allocations: 1.25 MB / 1.219 GB, free: 6.277 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/1.534, allocations: 52 kB / 1.219 GB, free: 6.227 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000894/1.535, allocations: 92 kB / 1.219 GB, free: 6.137 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006622/1.542, allocations: 1.939 MB / 1.221 GB, free: 4.195 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008114/1.55, allocations: 2.376 MB / 1.223 GB, free: 1.758 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.537e-05/1.55, allocations: 3.938 kB / 1.223 GB, free: 1.754 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002748/1.55, allocations: 4 kB / 1.223 GB, free: 1.75 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001791/1.551, allocations: 87.22 kB / 1.223 GB, free: 1.664 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02264/1.573, allocations: 10.51 MB / 1.234 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/1.575, allocations: 0.7197 MB / 1.234 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/1.576, allocations: 0.5052 MB / 1.235 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/1.577, allocations: 89.47 kB / 1.235 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.035e-05/1.577, allocations: 50.88 kB / 1.235 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 4.298e-06/1.577, allocations: 0 / 1.235 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72): time 0.01951/1.596, allocations: 4.367 MB / 1.239 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/1.596, allocations: 81.89 kB / 1.239 GB, free: 432 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/1.598, allocations: 0.7649 MB / 1.24 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002008/1.598, allocations: 25.7 kB / 1.24 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008265/1.599, allocations: 0.7736 MB / 1.241 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003973/1.6, allocations: 240.4 kB / 1.241 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/1.6, allocations: 4 kB / 1.241 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002679/1.6, allocations: 394.8 kB / 1.241 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/1.602, allocations: 0.7404 MB / 1.242 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/1.604, allocations: 1.091 MB / 1.243 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00298/1.607, allocations: 1.082 MB / 1.244 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/1.607, allocations: 4 kB / 1.244 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01354/1.621, allocations: 3.244 MB / 1.247 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001946/1.623, allocations: 4.269 MB / 1.252 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.496e-05/1.623, allocations: 16 kB / 1.252 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00958/1.632, allocations: 1.401 MB / 1.253 GB, free: 1.836 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/1.634, allocations: 223.6 kB / 1.253 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6828/2.317, allocations: 7.01 MB / 1.26 GB, free: 212 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/2.319, allocations: 168.3 kB / 1.26 GB, free: 212 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002196/2.319, allocations: 49.94 kB / 1.26 GB, free: 212 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/2.319, allocations: 3.438 kB / 1.26 GB, free: 212 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004678/2.324, allocations: 1.674 MB / 1.262 GB, free: 212 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/2.324, allocations: 11.88 kB / 1.262 GB, free: 212 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/2.324, allocations: 18.53 kB / 1.262 GB, free: 212 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002445/2.327, allocations: 341.3 kB / 1.262 GB, free: 212 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-05/2.327, allocations: 24.64 kB / 1.262 GB, free: 212 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/2.328, allocations: 121 kB / 1.262 GB, free: 212 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/2.329, allocations: 50.2 kB / 1.262 GB, free: 212 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.000419/2.329, allocations: 140.7 kB / 1.262 GB, free: 211.9 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01143/2.341, allocations: 2.856 MB / 1.265 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/2.341, allocations: 84.02 kB / 1.265 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/2.353, allocations: 3.004 MB / 1.268 GB, free: 211.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/2.353, allocations: 10.11 kB / 1.268 GB, free: 211.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/2.353, allocations: 5.219 kB / 1.268 GB, free: 211.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.446e-05/2.353, allocations: 3.188 kB / 1.268 GB, free: 211.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/2.372, allocations: 5.278 MB / 1.273 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/2.372, allocations: 2.562 kB / 1.273 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009216/2.373, allocations: 112.8 kB / 1.274 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01065/2.384, allocations: 1.607 MB / 1.275 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/2.384, allocations: 12.7 kB / 1.275 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02268/2.407, allocations: 9.156 MB / 1.284 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/2.407, allocations: 5.969 kB / 1.284 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/2.419, allocations: 2.977 MB / 1.287 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/2.42, allocations: 322.8 kB / 1.287 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/2.42, allocations: 4.656 kB / 1.287 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/2.422, allocations: 171.6 kB / 1.287 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004795/2.423, allocations: 65.73 kB / 1.288 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/2.423, allocations: 23.03 kB / 1.288 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001279/2.424, allocations: 0.5827 MB / 1.288 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.11e-07/2.424, allocations: 0 / 1.288 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003637/2.428, allocations: 0.6143 MB / 1.289 GB, free: 206.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01318/2.441, allocations: 4.177 MB / 1.293 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008653/2.45, allocations: 2.913 MB / 1.296 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/2.45, allocations: 3.781 kB / 1.296 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004542/2.454, allocations: 1.327 MB / 1.297 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/2.456, allocations: 204.8 kB / 1.297 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/2.467, allocations: 3.307 MB / 1.3 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002779/2.47, allocations: 1.748 MB / 1.302 GB, free: 200.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003393/2.474, allocations: 0.6394 MB / 1.303 GB, free: 200.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/2.475, allocations: 0.4942 MB / 1.303 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of SimCode: time 2.425e-06/2.475, allocations: 0 / 1.303 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1287/2.604, allocations: 35.97 MB / 1.338 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/2.604, allocations: 182.5 kB / 1.339 GB, free: 198.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.676/6.28, allocations: 4.781 kB / 1.339 GB, free: 198.7 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)