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.2444/0.2481, allocations: 80.84 MB / 0.6707 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04765/0.2958, allocations: 37.33 MB / 0.7071 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02508/0.3209, allocations: 11.6 MB / 0.7184 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005866/0.3269, allocations: 155.2 kB / 0.7186 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01241/0.3393, allocations: 4.356 MB / 0.7228 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.3496, allocations: 2.43 MB / 0.7252 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00839/0.3581, allocations: 2.151 MB / 0.7273 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.016/0.3741, allocations: 9.144 MB / 0.7362 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02419/0.3984, allocations: 11.25 MB / 0.7472 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4888/0.8872, allocations: 4.018 MB / 0.7512 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01358/0.9009, allocations: 4.546 MB / 0.7556 GB, free: 21.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.005675/0.9066, allocations: 0.8171 MB / 0.7564 GB, free: 21.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009612/0.9162, allocations: 1.58 MB / 0.7579 GB, free: 21.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.01005/0.9263, allocations: 3.078 MB / 0.7609 GB, free: 21.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.016/0.9424, allocations: 3.572 MB / 0.7644 GB, free: 20.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02535/0.9678, allocations: 12.17 MB / 0.7763 GB, free: 19.58 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.9679, allocations: 0 / 0.7763 GB, free: 19.58 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.106e-06/0.9679, allocations: 1.844 kB / 0.7763 GB, free: 19.58 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0008849/0.9688, allocations: 0 / 0.7763 GB, free: 19.58 MB / 0.5762 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.03212/1.001, allocations: 6.282 MB / 0.7824 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/1.001, allocations: 13.8 kB / 0.7825 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/1.012, allocations: 1.036 MB / 0.7835 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01302/1.025, allocations: 3.598 MB / 0.787 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008602/1.026, allocations: 421.6 kB / 0.7874 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004773/1.03, allocations: 0.5376 MB / 0.7879 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03426/1.065, allocations: 9.347 MB / 0.797 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004101/1.065, allocations: 25.56 kB / 0.7971 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00418/1.069, allocations: 241.4 kB / 0.7973 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001092/1.07, allocations: 422.2 kB / 0.7977 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02269/1.093, allocations: 7.099 MB / 0.8046 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06021/1.153, allocations: 28.24 MB / 0.8322 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005773/1.159, allocations: 3.117 MB / 0.8353 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003673/1.163, allocations: 2.145 MB / 0.8373 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/1.163, allocations: 25.47 kB / 0.8374 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.29e-05/1.163, allocations: 60.56 kB / 0.8374 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=209): time 4.028e-06/1.163, allocations: 0 / 0.8374 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=212): time 0.02994/1.193, allocations: 10.56 MB / 0.8477 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/1.193, allocations: 73.41 kB / 0.8478 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004545/1.198, allocations: 2.005 MB / 0.8498 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004777/1.198, allocations: 65.7 kB / 0.8498 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00199/1.2, allocations: 2.387 MB / 0.8522 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001329/1.202, allocations: 0.7251 MB / 0.8529 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0014/1.203, allocations: 481.1 kB / 0.8533 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.203, allocations: 301.1 kB / 0.8536 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002454/1.206, allocations: 1.376 MB / 0.855 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002987/1.209, allocations: 2.114 MB / 0.857 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005599/1.214, allocations: 3.779 MB / 0.8607 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-05/1.214, allocations: 4 kB / 0.8607 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009146/1.224, allocations: 5.073 MB / 0.8657 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/1.224, allocations: 20.25 kB / 0.8657 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/1.224, allocations: 23.94 kB / 0.8657 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00375/1.227, allocations: 1.521 MB / 0.8672 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/1.229, allocations: 456.3 kB / 0.8676 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02523/1.255, allocations: 18.58 MB / 0.8858 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/1.258, allocations: 151.8 kB / 0.8859 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007393/1.259, allocations: 104 kB / 0.886 GB, free: 6.445 MB / 0.6544 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.005513/1.264, allocations: 1.952 MB / 0.8879 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009781/1.265, allocations: 284.7 kB / 0.8882 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009369/1.275, allocations: 4.465 MB / 0.8926 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/1.275, allocations: 20 kB / 0.8926 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-05/1.275, allocations: 20 kB / 0.8926 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.206e-05/1.275, allocations: 7.969 kB / 0.8926 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02162/1.297, allocations: 9.719 MB / 0.9021 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/1.297, allocations: 8.125 kB / 0.9021 GB, free: 5.996 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/1.298, allocations: 234.5 kB / 0.9023 GB, free: 5.777 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003624/1.301, allocations: 1.43 MB / 0.9037 GB, free: 4.34 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002643/1.302, allocations: 43.98 kB / 0.9038 GB, free: 4.297 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02672/1.328, allocations: 18.57 MB / 0.9219 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/1.328, allocations: 4 kB / 0.9219 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/1.34, allocations: 4.55 MB / 0.9264 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002726/1.343, allocations: 0.6265 MB / 0.927 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001629/1.344, allocations: 47.47 kB / 0.927 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/1.347, allocations: 115.8 kB / 0.9271 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008939/1.348, allocations: 181.5 kB / 0.9273 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002839/1.349, allocations: 56 kB / 0.9273 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003715/1.352, allocations: 1.323 MB / 0.9286 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.71e-07/1.352, allocations: 0 / 0.9286 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.006781/1.359, allocations: 1.105 MB / 0.9297 GB, free: 9.164 MB / 0.7012 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.000642/1.36, allocations: 159.4 kB / 0.9299 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01049/1.37, allocations: 4.731 MB / 0.9345 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.332e-05/1.37, allocations: 4 kB / 0.9345 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.006089/1.377, allocations: 2.919 MB / 0.9373 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007008/1.384, allocations: 0.8904 MB / 0.9382 GB, free: 0.5195 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0258/1.409, allocations: 9.459 MB / 0.9474 GB, free: 7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008133/1.418, allocations: 3.709 MB / 0.9511 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002982/1.421, allocations: 0.5596 MB / 0.9516 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007033/1.421, allocations: 147.4 kB / 0.9518 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of SimCode: time 1.443e-06/1.421, allocations: 0 / 0.9518 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of Templates: time 0.09657/1.518, allocations: 51.36 MB / 1.002 GB, free: 15.94 MB / 0.7794 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)