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_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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.5681/0.5712, allocations: 80.82 MB / 0.5904 GB, free: 22.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03986/0.6111, allocations: 37.34 MB / 0.6269 GB, free: 1.352 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02476/0.636, allocations: 11.6 MB / 0.6382 GB, free: 5.742 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006028/0.642, allocations: 155.2 kB / 0.6384 GB, free: 5.59 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01234/0.6545, allocations: 4.344 MB / 0.6426 GB, free: 1.238 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008368/0.6629, allocations: 2.32 MB / 0.6449 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007046/0.67, allocations: 2.158 MB / 0.647 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01396/0.684, allocations: 9.121 MB / 0.6559 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02308/0.7071, allocations: 11.35 MB / 0.667 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008381/0.7155, allocations: 3.95 MB / 0.6708 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008316/0.7239, allocations: 4.545 MB / 0.6753 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.003789/0.7277, allocations: 0.8203 MB / 0.6761 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005935/0.7336, allocations: 1.58 MB / 0.6776 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.006439/0.7401, allocations: 3.068 MB / 0.6806 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.009885/0.75, allocations: 3.579 MB / 0.6841 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01859/0.7686, allocations: 12.1 MB / 0.6959 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.7687, allocations: 0 / 0.6959 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.045e-06/0.7687, allocations: 0 / 0.6959 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004991/0.7692, allocations: 0 / 0.6959 GB, free: 10.42 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: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.02273/0.792, allocations: 6.275 MB / 0.702 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.792, allocations: 8.031 kB / 0.702 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006865/0.7989, allocations: 1.032 MB / 0.7031 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008904/0.8078, allocations: 3.407 MB / 0.7064 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004611/0.8083, allocations: 423.6 kB / 0.7068 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002421/0.8108, allocations: 0.5393 MB / 0.7073 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02722/0.838, allocations: 9.345 MB / 0.7164 GB, free: 4.934 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002805/0.8383, allocations: 23.81 kB / 0.7165 GB, free: 4.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002193/0.8406, allocations: 244 kB / 0.7167 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008233/0.8414, allocations: 418.8 kB / 0.7171 GB, free: 4.262 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/0.8591, allocations: 7.1 MB / 0.724 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4779/1.337, allocations: 28.53 MB / 0.7519 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005358/1.342, allocations: 3.115 MB / 0.7549 GB, free: 134 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003314/1.346, allocations: 2.133 MB / 0.757 GB, free: 134 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/1.346, allocations: 21.25 kB / 0.757 GB, free: 134 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/1.346, allocations: 64.16 kB / 0.7571 GB, free: 134 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 4.379e-06/1.346, allocations: 0 / 0.7571 GB, free: 134 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.02544/1.371, allocations: 10.57 MB / 0.7674 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/1.372, allocations: 73.16 kB / 0.7675 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/1.375, allocations: 2.003 MB / 0.7694 GB, free: 129.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003812/1.375, allocations: 63.64 kB / 0.7695 GB, free: 129.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001568/1.377, allocations: 2.386 MB / 0.7718 GB, free: 128 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007643/1.377, allocations: 0.7277 MB / 0.7725 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006964/1.378, allocations: 481.3 kB / 0.773 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.945e-05/1.378, allocations: 305.1 kB / 0.7733 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/1.38, allocations: 1.376 MB / 0.7746 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/1.382, allocations: 2.114 MB / 0.7767 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003868/1.386, allocations: 3.782 MB / 0.7804 GB, free: 122 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/1.386, allocations: 3.938 kB / 0.7804 GB, free: 122 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006965/1.393, allocations: 5.068 MB / 0.7853 GB, free: 119.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/1.393, allocations: 14.41 kB / 0.7854 GB, free: 119.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/1.393, allocations: 30.55 kB / 0.7854 GB, free: 119.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/1.396, allocations: 1.533 MB / 0.7869 GB, free: 118.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/1.398, allocations: 458.9 kB / 0.7873 GB, free: 118.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01809/1.416, allocations: 18.59 MB / 0.8055 GB, free: 99.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/1.419, allocations: 151.9 kB / 0.8056 GB, free: 99.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003232/1.419, allocations: 110.8 kB / 0.8057 GB, free: 99.16 MB / 0.5762 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,51.0%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003077/1.422, allocations: 1.941 MB / 0.8076 GB, free: 97.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006223/1.423, allocations: 292.4 kB / 0.8079 GB, free: 96.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006614/1.43, allocations: 4.459 MB / 0.8123 GB, free: 92.44 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/1.43, allocations: 20 kB / 0.8123 GB, free: 92.42 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.779e-05/1.43, allocations: 16 kB / 0.8123 GB, free: 92.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/1.43, allocations: 16.03 kB / 0.8123 GB, free: 92.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/1.446, allocations: 9.723 MB / 0.8218 GB, free: 82.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/1.446, allocations: 8.094 kB / 0.8218 GB, free: 82.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009426/1.447, allocations: 234.5 kB / 0.822 GB, free: 82.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002843/1.449, allocations: 1.439 MB / 0.8234 GB, free: 80.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/1.45, allocations: 40 kB / 0.8235 GB, free: 80.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01798/1.468, allocations: 18.56 MB / 0.8416 GB, free: 61.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.468, allocations: 11.94 kB / 0.8416 GB, free: 61.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006329/1.474, allocations: 4.551 MB / 0.8461 GB, free: 57.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/1.476, allocations: 0.6304 MB / 0.8467 GB, free: 56.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004301/1.476, allocations: 43.94 kB / 0.8467 GB, free: 56.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/1.477, allocations: 119.8 kB / 0.8468 GB, free: 56.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005392/1.478, allocations: 185.2 kB / 0.847 GB, free: 56.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/1.478, allocations: 60 kB / 0.8471 GB, free: 56.03 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001653/1.48, allocations: 1.311 MB / 0.8483 GB, free: 54.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.48, allocations: 0 / 0.8483 GB, free: 54.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003556/1.483, allocations: 1.109 MB / 0.8494 GB, free: 53.6 MB / 0.5762 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003405/1.484, allocations: 167 kB / 0.8496 GB, free: 53.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008373/1.492, allocations: 5.934 MB / 0.8554 GB, free: 47.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.492, allocations: 7.938 kB / 0.8554 GB, free: 47.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004011/1.496, allocations: 2.926 MB / 0.8582 GB, free: 44.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004665/1.501, allocations: 0.8924 MB / 0.8591 GB, free: 43.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/1.522, allocations: 9.571 MB / 0.8685 GB, free: 33.99 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006334/1.528, allocations: 3.705 MB / 0.8721 GB, free: 30.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002777/1.531, allocations: 0.5634 MB / 0.8726 GB, free: 29.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/1.532, allocations: 147.4 kB / 0.8728 GB, free: 29.54 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/1.532, allocations: 0 / 0.8728 GB, free: 29.54 MB / 0.5762 GB Notification: Performance of Templates: time 0.09954/1.631, allocations: 52.6 MB / 0.9241 GB, free: 9.633 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)