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.174/0.1761, allocations: 80.84 MB / 0.6707 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03946/0.2156, allocations: 34 MB / 0.7039 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02051/0.2362, allocations: 12.08 MB / 0.7157 GB, free: 3.781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004581/0.2408, allocations: 159.2 kB / 0.7158 GB, free: 3.625 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01178/0.2526, allocations: 4.238 MB / 0.7199 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007945/0.2606, allocations: 2.069 MB / 0.722 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007395/0.268, allocations: 2.368 MB / 0.7243 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01131/0.2794, allocations: 8.211 MB / 0.7323 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02129/0.3007, allocations: 11.08 MB / 0.7431 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007668/0.3084, allocations: 3.685 MB / 0.7467 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5214/0.8298, allocations: 4.178 MB / 0.7508 GB, free: 23.58 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003735/0.8336, allocations: 0.7661 MB / 0.7515 GB, free: 23.58 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00709/0.8407, allocations: 2.012 MB / 0.7535 GB, free: 23.58 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.007596/0.8484, allocations: 2.962 MB / 0.7564 GB, free: 23.58 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01829/0.8667, allocations: 3.278 MB / 0.7596 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02893/0.8957, allocations: 11.73 MB / 0.7711 GB, free: 22.3 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.8957, allocations: 3.906 kB / 0.7711 GB, free: 22.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.267e-06/0.8957, allocations: 0 / 0.7711 GB, free: 22.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004602/0.8962, allocations: 3.703 kB / 0.7711 GB, free: 22.3 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.02764/0.9239, allocations: 5.702 MB / 0.7766 GB, free: 20.26 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.9239, allocations: 9.719 kB / 0.7766 GB, free: 20.26 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.9349, allocations: 1.03 MB / 0.7776 GB, free: 19.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01237/0.9473, allocations: 3.42 MB / 0.781 GB, free: 19.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008057/0.9481, allocations: 404.1 kB / 0.7814 GB, free: 19.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005594/0.9537, allocations: 0.5274 MB / 0.7819 GB, free: 19.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02978/0.9835, allocations: 8.973 MB / 0.7906 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002088/0.9838, allocations: 30.25 kB / 0.7907 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008365/0.9846, allocations: 233.5 kB / 0.7909 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004042/0.985, allocations: 348.1 kB / 0.7912 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/0.9971, allocations: 6.751 MB / 0.7978 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04841/1.046, allocations: 26.9 MB / 0.8241 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004387/1.05, allocations: 3.118 MB / 0.8271 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003295/1.053, allocations: 1.985 MB / 0.8291 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/1.054, allocations: 22 kB / 0.8291 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/1.054, allocations: 48.56 kB / 0.8291 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=179): time 4.479e-06/1.054, allocations: 0 / 0.8291 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of matching and sorting (n=182): time 0.02759/1.081, allocations: 9.981 MB / 0.8389 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/1.081, allocations: 73.34 kB / 0.839 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/1.084, allocations: 1.526 MB / 0.8404 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002803/1.085, allocations: 49.7 kB / 0.8405 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001825/1.086, allocations: 2.21 MB / 0.8427 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008399/1.087, allocations: 0.6232 MB / 0.8433 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007591/1.088, allocations: 411.9 kB / 0.8437 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.088, allocations: 301.1 kB / 0.8439 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/1.09, allocations: 1.187 MB / 0.8451 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002375/1.093, allocations: 1.885 MB / 0.8469 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004605/1.097, allocations: 3.381 MB / 0.8502 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.269e-05/1.097, allocations: 8 kB / 0.8503 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008339/1.106, allocations: 4.585 MB / 0.8547 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/1.106, allocations: 16 kB / 0.8547 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.504e-05/1.106, allocations: 22.44 kB / 0.8548 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003812/1.11, allocations: 1.522 MB / 0.8563 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/1.111, allocations: 353.7 kB / 0.8566 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02386/1.135, allocations: 18.57 MB / 0.8747 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/1.137, allocations: 119.9 kB / 0.8748 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005053/1.138, allocations: 99.98 kB / 0.8749 GB, free: 4.059 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.004381/1.142, allocations: 1.889 MB / 0.8768 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006261/1.143, allocations: 225.3 kB / 0.877 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008015/1.151, allocations: 4.105 MB / 0.881 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/1.151, allocations: 23.94 kB / 0.881 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.581e-05/1.151, allocations: 16 kB / 0.881 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/1.151, allocations: 7.969 kB / 0.8811 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01876/1.17, allocations: 9.07 MB / 0.8899 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.17, allocations: 4 kB / 0.8899 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008562/1.171, allocations: 177.8 kB / 0.8901 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003523/1.174, allocations: 1.353 MB / 0.8914 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001962/1.174, allocations: 35.94 kB / 0.8914 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0228/1.197, allocations: 17.35 MB / 0.9084 GB, free: 1.293 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/1.197, allocations: 7.281 kB / 0.9084 GB, free: 1.289 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008228/1.205, allocations: 4.082 MB / 0.9124 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/1.207, allocations: 0.5219 MB / 0.9129 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003297/1.208, allocations: 40 kB / 0.9129 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009992/1.209, allocations: 87.89 kB / 0.913 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005827/1.209, allocations: 161 kB / 0.9132 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.209, allocations: 55.66 kB / 0.9132 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001595/1.211, allocations: 1.001 MB / 0.9142 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/1.211, allocations: 4 kB / 0.9142 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003822/1.215, allocations: 0.9414 MB / 0.9151 GB, free: 10.33 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.0003251/1.215, allocations: 150.2 kB / 0.9153 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007115/1.222, allocations: 4.31 MB / 0.9195 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.222, allocations: 0 / 0.9195 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004471/1.227, allocations: 2.676 MB / 0.9221 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/1.231, allocations: 0.778 MB / 0.9228 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0202/1.251, allocations: 8.665 MB / 0.9313 GB, free: 9.75 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005359/1.256, allocations: 3.575 MB / 0.9348 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001718/1.258, allocations: 479.8 kB / 0.9353 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/1.258, allocations: 117.4 kB / 0.9354 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of SimCode: time 1.562e-06/1.258, allocations: 3.938 kB / 0.9354 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of Templates: time 0.08513/1.343, allocations: 44.25 MB / 0.9786 GB, free: 9.824 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)