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.1881/0.1904, allocations: 80.84 MB / 0.6707 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04163/0.2321, allocations: 34 MB / 0.7039 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02277/0.2549, allocations: 12.08 MB / 0.7157 GB, free: 3.734 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004596/0.2595, allocations: 163.2 kB / 0.7158 GB, free: 3.574 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01159/0.2712, allocations: 4.239 MB / 0.7199 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008112/0.2794, allocations: 2.061 MB / 0.722 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00755/0.287, allocations: 2.372 MB / 0.7243 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0109/0.2979, allocations: 8.211 MB / 0.7323 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01999/0.3179, allocations: 11.08 MB / 0.7431 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008017/0.326, allocations: 3.743 MB / 0.7468 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4232/0.7493, allocations: 4.174 MB / 0.7508 GB, free: 23.39 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004297/0.7536, allocations: 0.7661 MB / 0.7516 GB, free: 23.39 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007168/0.7608, allocations: 2.009 MB / 0.7536 GB, free: 23.39 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006678/0.7675, allocations: 2.964 MB / 0.7565 GB, free: 23.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01217/0.7797, allocations: 3.272 MB / 0.7596 GB, free: 23.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02383/0.8036, allocations: 11.74 MB / 0.7711 GB, free: 22.12 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.8036, allocations: 1.844 kB / 0.7711 GB, free: 22.12 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8037, allocations: 0 / 0.7711 GB, free: 22.12 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004807/0.8041, allocations: 0.9062 kB / 0.7711 GB, free: 22.12 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: 1452 * Number of variables: 1452 Notification: Performance of Generate backend data structure: time 0.02831/0.8325, allocations: 5.708 MB / 0.7767 GB, free: 20.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.8325, allocations: 9.906 kB / 0.7767 GB, free: 20.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008882/0.8414, allocations: 1.026 MB / 0.7777 GB, free: 19.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.8523, allocations: 3.42 MB / 0.781 GB, free: 19.11 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005801/0.8529, allocations: 407.9 kB / 0.7814 GB, free: 19.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003311/0.8563, allocations: 0.5302 MB / 0.7819 GB, free: 19.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02845/0.8847, allocations: 8.963 MB / 0.7907 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002559/0.885, allocations: 39.92 kB / 0.7907 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001485/0.8865, allocations: 228.1 kB / 0.7909 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004089/0.8869, allocations: 343.7 kB / 0.7913 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.9019, allocations: 6.758 MB / 0.7979 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04263/0.9446, allocations: 26.9 MB / 0.8241 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/0.9484, allocations: 3.114 MB / 0.8272 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002675/0.9511, allocations: 1.988 MB / 0.8291 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.9513, allocations: 25.38 kB / 0.8292 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.9513, allocations: 48.56 kB / 0.8292 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=179): time 3.918e-06/0.9513, allocations: 0 / 0.8292 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of matching and sorting (n=182): time 0.025/0.9763, allocations: 9.974 MB / 0.8389 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.9764, allocations: 77.34 kB / 0.839 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.9786, allocations: 1.522 MB / 0.8405 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.9787, allocations: 53.7 kB / 0.8405 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001375/0.9801, allocations: 2.212 MB / 0.8427 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005347/0.9806, allocations: 0.6225 MB / 0.8433 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006401/0.9813, allocations: 411.9 kB / 0.8437 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.9814, allocations: 301.1 kB / 0.844 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.983, allocations: 1.179 MB / 0.8451 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.9851, allocations: 1.891 MB / 0.847 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004186/0.9893, allocations: 3.385 MB / 0.8503 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/0.9893, allocations: 8 kB / 0.8503 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007757/0.9971, allocations: 4.581 MB / 0.8548 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.9971, allocations: 16 kB / 0.8548 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-05/0.9972, allocations: 24.84 kB / 0.8548 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003862/1.001, allocations: 1.515 MB / 0.8563 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/1.002, allocations: 351.3 kB / 0.8566 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02305/1.026, allocations: 18.58 MB / 0.8748 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/1.028, allocations: 119.9 kB / 0.8749 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/1.028, allocations: 92 kB / 0.875 GB, free: 3.828 MB / 0.6387 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 (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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003836/1.032, allocations: 1.897 MB / 0.8768 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004765/1.032, allocations: 221.3 kB / 0.8771 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006825/1.039, allocations: 4.107 MB / 0.8811 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/1.039, allocations: 19.94 kB / 0.8811 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.951e-05/1.039, allocations: 16 kB / 0.8811 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/1.039, allocations: 11.97 kB / 0.8811 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/1.056, allocations: 9.075 MB / 0.89 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/1.056, allocations: 4 kB / 0.89 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008572/1.057, allocations: 181.7 kB / 0.8901 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003308/1.06, allocations: 1.351 MB / 0.8915 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/1.061, allocations: 39.94 kB / 0.8915 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02109/1.082, allocations: 17.35 MB / 0.9084 GB, free: 1.059 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/1.082, allocations: 4 kB / 0.9084 GB, free: 1.055 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006935/1.089, allocations: 4.083 MB / 0.9124 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/1.091, allocations: 0.5257 MB / 0.9129 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003582/1.091, allocations: 39.98 kB / 0.913 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.092, allocations: 87.89 kB / 0.9131 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006182/1.093, allocations: 165 kB / 0.9132 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.093, allocations: 44 kB / 0.9133 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001528/1.094, allocations: 1.005 MB / 0.9143 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.21e-07/1.094, allocations: 0 / 0.9143 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00332/1.098, allocations: 0.9453 MB / 0.9152 GB, free: 10.1 MB / 0.6856 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 (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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002926/1.098, allocations: 149 kB / 0.9153 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006768/1.105, allocations: 4.317 MB / 0.9195 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.105, allocations: 4.312 kB / 0.9195 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004123/1.109, allocations: 2.671 MB / 0.9221 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003657/1.112, allocations: 0.7722 MB / 0.9229 GB, free: 2.242 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/1.131, allocations: 8.68 MB / 0.9314 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00498/1.136, allocations: 3.567 MB / 0.9349 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001973/1.138, allocations: 479.9 kB / 0.9353 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/1.139, allocations: 119.4 kB / 0.9354 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of SimCode: time 1.973e-06/1.139, allocations: 0 / 0.9354 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of Templates: time 0.08205/1.221, allocations: 44.91 MB / 0.9793 GB, free: 9.016 MB / 0.7481 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (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)