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_L_N.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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [/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.188/0.1889, allocations: 82.21 MB / 0.5935 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03346/0.2224, allocations: 30.99 MB / 0.6237 GB, free: 6.863 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0197/0.2421, allocations: 11.45 MB / 0.6349 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00383/0.246, allocations: 139.2 kB / 0.635 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.2487, allocations: 0.6705 MB / 0.6357 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006196/0.2549, allocations: 1.618 MB / 0.6373 GB, free: 8.949 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005653/0.2606, allocations: 1.42 MB / 0.6387 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01272/0.2733, allocations: 9.39 MB / 0.6478 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02206/0.2954, allocations: 12.53 MB / 0.6601 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006426/0.3019, allocations: 2.603 MB / 0.6626 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007325/0.3093, allocations: 3.481 MB / 0.666 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001807/0.3111, allocations: 324 kB / 0.6663 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004023/0.3152, allocations: 0.9598 MB / 0.6673 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003837/0.319, allocations: 2.37 MB / 0.6696 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00242/0.3215, allocations: 1.05 MB / 0.6706 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.333, allocations: 9.748 MB / 0.6801 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.3331, allocations: 0 / 0.6801 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.477e-06/0.3331, allocations: 0 / 0.6801 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004069/0.3335, allocations: 0 / 0.6801 GB, free: 12.93 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1452 * Number of variables: 1452 Notification: Performance of Generate backend data structure: time 0.0112/0.3447, allocations: 4.639 MB / 0.6847 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3448, allocations: 11.97 kB / 0.6847 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006814/0.3516, allocations: 1.028 MB / 0.6857 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006856/0.3585, allocations: 3.173 MB / 0.6888 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003499/0.3589, allocations: 402.8 kB / 0.6892 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/0.3607, allocations: 0.5233 MB / 0.6897 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3939/0.7547, allocations: 8.921 MB / 0.6984 GB, free: 84.56 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000217/0.755, allocations: 38.48 kB / 0.6984 GB, free: 84.55 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007663/0.7557, allocations: 235 kB / 0.6986 GB, free: 84.55 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003779/0.7561, allocations: 342.3 kB / 0.699 GB, free: 84.54 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01661/0.7727, allocations: 6.713 MB / 0.7055 GB, free: 83.24 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0452/0.818, allocations: 27.27 MB / 0.7321 GB, free: 63.42 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003705/0.8217, allocations: 3.098 MB / 0.7352 GB, free: 61.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002562/0.8243, allocations: 1.955 MB / 0.7371 GB, free: 60.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.8245, allocations: 22.5 kB / 0.7371 GB, free: 60.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.8245, allocations: 48.53 kB / 0.7371 GB, free: 60.26 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=179): time 4.739e-06/0.8245, allocations: 0 / 0.7371 GB, free: 60.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.02346/0.848, allocations: 9.876 MB / 0.7468 GB, free: 53.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.8481, allocations: 69.41 kB / 0.7469 GB, free: 53.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/0.8504, allocations: 1.511 MB / 0.7483 GB, free: 51.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.8506, allocations: 57.64 kB / 0.7484 GB, free: 51.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.8518, allocations: 2.203 MB / 0.7505 GB, free: 49.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005879/0.8524, allocations: 0.6272 MB / 0.7512 GB, free: 48.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.8525, allocations: 48 kB / 0.7512 GB, free: 48.79 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8527, allocations: 406.3 kB / 0.7516 GB, free: 48.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.8542, allocations: 1.172 MB / 0.7527 GB, free: 47.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/0.856, allocations: 1.877 MB / 0.7546 GB, free: 45.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/0.8579, allocations: 1.517 MB / 0.756 GB, free: 43.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/0.858, allocations: 8 kB / 0.7561 GB, free: 43.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007259/0.8652, allocations: 4.563 MB / 0.7605 GB, free: 38.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.8653, allocations: 16 kB / 0.7605 GB, free: 38.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.941e-05/0.8654, allocations: 22.81 kB / 0.7605 GB, free: 38.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003314/0.8687, allocations: 1.525 MB / 0.762 GB, free: 37.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.8699, allocations: 351.4 kB / 0.7624 GB, free: 36.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0193/0.8892, allocations: 17.03 MB / 0.779 GB, free: 19.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.8912, allocations: 119.9 kB / 0.7791 GB, free: 19.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003717/0.8915, allocations: 96 kB / 0.7792 GB, free: 19.22 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 (177): * Single equations (assignments): 173 * 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 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003675/0.8952, allocations: 1.887 MB / 0.7811 GB, free: 17.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005891/0.8958, allocations: 225.4 kB / 0.7813 GB, free: 17.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006613/0.9025, allocations: 4.09 MB / 0.7853 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.9025, allocations: 16 kB / 0.7853 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.569e-05/0.9026, allocations: 16 kB / 0.7853 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.9026, allocations: 7.969 kB / 0.7853 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/0.9182, allocations: 9.059 MB / 0.7941 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/0.9183, allocations: 4.25 kB / 0.7942 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007825/0.9191, allocations: 179.7 kB / 0.7943 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003022/0.9221, allocations: 1.357 MB / 0.7956 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.9223, allocations: 36 kB / 0.7957 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0219/0.9442, allocations: 15.94 MB / 0.8113 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.327e-06/0.9443, allocations: 11.94 kB / 0.8113 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007948/0.9522, allocations: 4.05 MB / 0.8152 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/0.954, allocations: 0.5333 MB / 0.8157 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007466/0.9547, allocations: 36 kB / 0.8158 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.9561, allocations: 87.89 kB / 0.8159 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006541/0.9568, allocations: 165.6 kB / 0.816 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/0.957, allocations: 48 kB / 0.8161 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002213/0.9592, allocations: 0.989 MB / 0.817 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9592, allocations: 0 / 0.817 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004407/0.9636, allocations: 0.9414 MB / 0.8179 GB, free: 10.74 MB / 0.5606 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 (85): * Single equations (assignments): 81 * 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 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003333/0.964, allocations: 151.1 kB / 0.8181 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007755/0.9717, allocations: 4.295 MB / 0.8223 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.9718, allocations: 7.531 kB / 0.8223 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004937/0.9767, allocations: 2.666 MB / 0.8249 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004903/0.9817, allocations: 0.7094 MB / 0.8256 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02429/1.006, allocations: 10.56 MB / 0.8359 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005152/1.011, allocations: 3.567 MB / 0.8394 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001762/1.013, allocations: 471.9 kB / 0.8398 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/1.013, allocations: 115.4 kB / 0.8399 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of SimCode: time 1.213e-06/1.013, allocations: 3.938 kB / 0.84 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.07731/1.091, allocations: 40.47 MB / 0.8795 GB, free: 12.04 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) Environment - environmentSimulation: