Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4354/0.4361, allocations: 82.2 MB / 0.5935 GB, free: 21.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004906/0.441, allocations: 5.26 MB / 0.5986 GB, free: 16.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003536/0.4446, allocations: 3.176 MB / 0.6017 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/0.4449, allocations: 23.81 kB / 0.6017 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.4452, allocations: 115 kB / 0.6018 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007206/0.4459, allocations: 392.7 kB / 0.6022 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008002/0.4467, allocations: 349.7 kB / 0.6026 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009509/0.4477, allocations: 1.174 MB / 0.6037 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.4491, allocations: 0.9036 MB / 0.6046 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005022/0.4496, allocations: 354.5 kB / 0.6049 GB, free: 9.781 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000505/0.4501, allocations: 446.4 kB / 0.6053 GB, free: 9.344 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.4502, allocations: 32 kB / 0.6054 GB, free: 9.312 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005034/0.4507, allocations: 243.6 kB / 0.6056 GB, free: 9.074 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.4508, allocations: 247.3 kB / 0.6058 GB, free: 8.832 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.451, allocations: 149.3 kB / 0.606 GB, free: 8.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006029/0.4516, allocations: 0.8479 MB / 0.6068 GB, free: 7.832 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4516, allocations: 0 / 0.6068 GB, free: 7.832 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4516, allocations: 3.938 kB / 0.6068 GB, free: 7.828 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.4516, allocations: 0 / 0.6068 GB, free: 7.828 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001013/0.4526, allocations: 0.9076 MB / 0.6077 GB, free: 6.871 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.4527, allocations: 8.031 kB / 0.6077 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.4539, allocations: 210.8 kB / 0.6079 GB, free: 6.656 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.4545, allocations: 0.5132 MB / 0.6084 GB, free: 6.102 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.4545, allocations: 49.23 kB / 0.6085 GB, free: 6.051 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.41e-05/0.4546, allocations: 59.98 kB / 0.6085 GB, free: 5.992 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.4557, allocations: 0.9983 MB / 0.6095 GB, free: 4.891 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.4557, allocations: 11.84 kB / 0.6095 GB, free: 4.879 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/0.4558, allocations: 27.98 kB / 0.6095 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.322e-05/0.4559, allocations: 65.28 kB / 0.6096 GB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008002/0.4567, allocations: 0.6762 MB / 0.6103 GB, free: 4.113 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003277/0.46, allocations: 4.698 MB / 0.6148 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008082/0.4608, allocations: 0.5967 MB / 0.6154 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006845/0.4615, allocations: 425.2 kB / 0.6158 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.4615, allocations: 7.781 kB / 0.6158 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.4616, allocations: 38.56 kB / 0.6159 GB, free: 14.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=41): time 1.684e-06/0.4616, allocations: 4 kB / 0.6159 GB, free: 14.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=42): time 0.003925/0.4655, allocations: 2.049 MB / 0.6179 GB, free: 11.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.4656, allocations: 59.41 kB / 0.6179 GB, free: 11.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.466, allocations: 450.7 kB / 0.6184 GB, free: 11.45 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.466, allocations: 33.7 kB / 0.6184 GB, free: 11.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.4663, allocations: 375.2 kB / 0.6188 GB, free: 11.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.4664, allocations: 153.8 kB / 0.6189 GB, free: 10.89 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.4664, allocations: 12 kB / 0.6189 GB, free: 10.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4666, allocations: 358.8 kB / 0.6193 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/0.467, allocations: 253.2 kB / 0.6195 GB, free: 10.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005111/0.4675, allocations: 457 kB / 0.6199 GB, free: 9.727 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.4679, allocations: 315.7 kB / 0.6202 GB, free: 9.418 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4679, allocations: 0 / 0.6202 GB, free: 9.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00174/0.4697, allocations: 1.062 MB / 0.6213 GB, free: 8.336 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.4697, allocations: 10.19 kB / 0.6213 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4697, allocations: 7.938 kB / 0.6213 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009855/0.4707, allocations: 331.6 kB / 0.6216 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.471, allocations: 95.81 kB / 0.6217 GB, free: 7.891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006415/0.4775, allocations: 6.951 MB / 0.6285 GB, free: 408 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.4779, allocations: 28.02 kB / 0.6285 GB, free: 380 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.4779, allocations: 28 kB / 0.6285 GB, free: 352 kB / 462.1 MB 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 (53): * Single equations (assignments): 49 * 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 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003454/0.4783, allocations: 242.5 kB / 0.6288 GB, free: 100 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/0.4784, allocations: 59.25 kB / 0.6288 GB, free: 40 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.48, allocations: 0.9198 MB / 0.6297 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.48, allocations: 7.953 kB / 0.6297 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4801, allocations: 8 kB / 0.6297 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.4801, allocations: 3.984 kB / 0.6297 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.4826, allocations: 1.697 MB / 0.6314 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4826, allocations: 0 / 0.6314 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.4828, allocations: 43.92 kB / 0.6314 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008813/0.4836, allocations: 319.2 kB / 0.6317 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.4837, allocations: 8 kB / 0.6318 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006268/0.49, allocations: 6.927 MB / 0.6385 GB, free: 5.453 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.49, allocations: 3.938 kB / 0.6385 GB, free: 5.449 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.4916, allocations: 1.011 MB / 0.6395 GB, free: 4.391 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/0.4919, allocations: 176.3 kB / 0.6397 GB, free: 4.199 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.492, allocations: 12 kB / 0.6397 GB, free: 4.188 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.4922, allocations: 19.97 kB / 0.6397 GB, free: 4.168 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.4924, allocations: 43.95 kB / 0.6398 GB, free: 4.125 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.4924, allocations: 11.98 kB / 0.6398 GB, free: 4.113 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003413/0.4928, allocations: 302.9 kB / 0.6401 GB, free: 3.82 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4928, allocations: 0 / 0.6401 GB, free: 3.82 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007886/0.4936, allocations: 188 kB / 0.6402 GB, free: 3.637 MB / 478.1 MB 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 (23): * Single equations (assignments): 19 * 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 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001514/0.4937, allocations: 113.3 kB / 0.6403 GB, free: 3.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.4956, allocations: 1.211 MB / 0.6415 GB, free: 2.258 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4956, allocations: 4.125 kB / 0.6415 GB, free: 2.254 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.4967, allocations: 0.8582 MB / 0.6424 GB, free: 1.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008888/0.4976, allocations: 195.6 kB / 0.6426 GB, free: 1.148 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.4997, allocations: 1.466 MB / 0.644 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.5004, allocations: 0.9843 MB / 0.6449 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003085/0.5007, allocations: 97.17 kB / 0.645 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.5008, allocations: 39.42 kB / 0.6451 GB, free: 14.49 MB / 494.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5008, allocations: 0 / 0.6451 GB, free: 14.49 MB / 494.1 MB Notification: Performance of Templates: time 0.01516/0.5159, allocations: 9.138 MB / 0.654 GB, free: 5.465 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: