Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [/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.1856/0.1863, allocations: 82.21 MB / 0.5934 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0318/0.2182, allocations: 30.17 MB / 0.6228 GB, free: 7.723 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01775/0.236, allocations: 10.07 MB / 0.6327 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003991/0.24, allocations: 119.2 kB / 0.6328 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003137/0.2432, allocations: 0.6793 MB / 0.6334 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007538/0.2508, allocations: 1.604 MB / 0.635 GB, free: 11.22 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005534/0.2563, allocations: 1.165 MB / 0.6361 GB, free: 10.06 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.009121/0.2655, allocations: 3.776 MB / 0.6398 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01787/0.2834, allocations: 10.39 MB / 0.65 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004941/0.2884, allocations: 2.102 MB / 0.652 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004803/0.2932, allocations: 2.231 MB / 0.6542 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.2944, allocations: 284 kB / 0.6545 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.2966, allocations: 0.523 MB / 0.655 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002137/0.2987, allocations: 1.863 MB / 0.6568 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.3006, allocations: 0.9953 MB / 0.6578 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.3106, allocations: 8.337 MB / 0.6659 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3106, allocations: 0 / 0.6659 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.805e-06/0.3106, allocations: 0 / 0.6659 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003778/0.311, allocations: 4 kB / 0.6659 GB, free: 11.44 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1274 * Number of variables: 1274 Notification: Performance of Generate backend data structure: time 0.01173/0.3228, allocations: 4.332 MB / 0.6702 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3228, allocations: 15.97 kB / 0.6702 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005069/0.3279, allocations: 0.8799 MB / 0.671 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007318/0.3353, allocations: 2.917 MB / 0.6739 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003237/0.3356, allocations: 357.5 kB / 0.6742 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001589/0.3372, allocations: 464 kB / 0.6747 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/0.3537, allocations: 7.799 MB / 0.6823 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/0.3539, allocations: 27.72 kB / 0.6823 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005681/0.3544, allocations: 208 kB / 0.6825 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005025/0.3549, allocations: 365 kB / 0.6829 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/0.366, allocations: 5.867 MB / 0.6886 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3646/0.7307, allocations: 25.7 MB / 0.7137 GB, free: 73.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004031/0.7347, allocations: 2.14 MB / 0.7158 GB, free: 72.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.7349, allocations: 15.88 kB / 0.7158 GB, free: 72.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.7349, allocations: 56.88 kB / 0.7158 GB, free: 72.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=157): time 3.467e-06/0.7349, allocations: 0 / 0.7158 GB, free: 72.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=160): time 0.01428/0.7492, allocations: 7.548 MB / 0.7232 GB, free: 68.33 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.7493, allocations: 71.95 kB / 0.7233 GB, free: 68.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/0.7517, allocations: 1.838 MB / 0.7251 GB, free: 67.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.7518, allocations: 54.08 kB / 0.7251 GB, free: 67.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009729/0.7528, allocations: 2.111 MB / 0.7272 GB, free: 65.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00037/0.7532, allocations: 0.5529 MB / 0.7277 GB, free: 64.87 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.7533, allocations: 47.78 kB / 0.7278 GB, free: 64.83 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.7534, allocations: 394 kB / 0.7281 GB, free: 64.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.7546, allocations: 1.053 MB / 0.7292 GB, free: 63.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.7563, allocations: 1.751 MB / 0.7309 GB, free: 62.42 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.7578, allocations: 1.358 MB / 0.7322 GB, free: 61.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.7578, allocations: 3.969 kB / 0.7322 GB, free: 61.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005127/0.763, allocations: 3.912 MB / 0.736 GB, free: 59.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.763, allocations: 18.31 kB / 0.7361 GB, free: 59.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/0.7631, allocations: 19.81 kB / 0.7361 GB, free: 59.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002218/0.7653, allocations: 0.9314 MB / 0.737 GB, free: 59.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.7668, allocations: 423.3 kB / 0.7374 GB, free: 58.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/0.7811, allocations: 21.43 MB / 0.7583 GB, free: 39.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/0.7842, allocations: 120.1 kB / 0.7584 GB, free: 39.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002511/0.7845, allocations: 95.61 kB / 0.7585 GB, free: 39.26 MB / 0.5294 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.003003/0.7875, allocations: 1.651 MB / 0.7601 GB, free: 37.78 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006039/0.7881, allocations: 257 kB / 0.7604 GB, free: 37.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004216/0.7923, allocations: 3.252 MB / 0.7636 GB, free: 34.22 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.7924, allocations: 16 kB / 0.7636 GB, free: 34.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.7924, allocations: 12 kB / 0.7636 GB, free: 34.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.7924, allocations: 15.91 kB / 0.7636 GB, free: 34.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.8031, allocations: 7.585 MB / 0.771 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.8032, allocations: 4 kB / 0.771 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008236/0.804, allocations: 219.6 kB / 0.7712 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/0.8059, allocations: 0.8921 MB / 0.7721 GB, free: 25.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.715e-05/0.806, allocations: 32 kB / 0.7721 GB, free: 25.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/0.8196, allocations: 21.38 MB / 0.793 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.8196, allocations: 12.08 kB / 0.793 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005185/0.8248, allocations: 3.701 MB / 0.7966 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/0.8263, allocations: 0.5331 MB / 0.7971 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/0.8266, allocations: 35.98 kB / 0.7972 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.8276, allocations: 91.89 kB / 0.7973 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003584/0.828, allocations: 141 kB / 0.7974 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.8281, allocations: 48.38 kB / 0.7974 GB, free: 13.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001737/0.8298, allocations: 1.201 MB / 0.7986 GB, free: 12.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8298, allocations: 0 / 0.7986 GB, free: 12.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003239/0.8331, allocations: 0.8789 MB / 0.7995 GB, free: 11.43 MB / 0.545 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.0003233/0.8334, allocations: 162.9 kB / 0.7996 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006286/0.8397, allocations: 4.419 MB / 0.8039 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.8397, allocations: 3.469 kB / 0.804 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004025/0.8438, allocations: 2.991 MB / 0.8069 GB, free: 3.551 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003425/0.8472, allocations: 0.7499 MB / 0.8076 GB, free: 2.812 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/0.8627, allocations: 9.356 MB / 0.8167 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003573/0.8664, allocations: 3.3 MB / 0.82 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002197/0.8686, allocations: 0.541 MB / 0.8205 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/0.8689, allocations: 139.4 kB / 0.8206 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.8689, allocations: 0 / 0.8206 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of Templates: time 0.06957/0.9385, allocations: 39.45 MB / 0.8591 GB, free: 14.58 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: