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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [/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.1749/0.1756, allocations: 82.22 MB / 0.5941 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02684/0.2025, allocations: 25.24 MB / 0.6188 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0155/0.218, allocations: 8.411 MB / 0.627 GB, free: 3.828 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003265/0.2214, allocations: 99.44 kB / 0.6271 GB, free: 3.73 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002711/0.2241, allocations: 0.5193 MB / 0.6276 GB, free: 3.207 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005994/0.2301, allocations: 1.548 MB / 0.6291 GB, free: 1.652 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004691/0.2348, allocations: 1.387 MB / 0.6305 GB, free: 272 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01274/0.2476, allocations: 8.568 MB / 0.6388 GB, free: 7.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01773/0.2654, allocations: 9.145 MB / 0.6477 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004873/0.2703, allocations: 1.828 MB / 0.6495 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005289/0.2756, allocations: 2.479 MB / 0.652 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.2768, allocations: 208 kB / 0.6522 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.2803, allocations: 1.201 MB / 0.6533 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002565/0.2829, allocations: 1.621 MB / 0.6549 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002632/0.2855, allocations: 1.894 MB / 0.6568 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007366/0.2929, allocations: 7.55 MB / 0.6641 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2929, allocations: 0 / 0.6641 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2929, allocations: 0 / 0.6641 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001397/0.2931, allocations: 0 / 0.6641 GB, free: 13.6 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.006677/0.2998, allocations: 3.381 MB / 0.6674 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.2998, allocations: 8.031 kB / 0.6674 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004291/0.3041, allocations: 0.7845 MB / 0.6682 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0044/0.3085, allocations: 2.413 MB / 0.6706 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.3087, allocations: 267.5 kB / 0.6708 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007589/0.3095, allocations: 368.6 kB / 0.6712 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/0.3243, allocations: 5.939 MB / 0.677 GB, free: 76 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/0.3245, allocations: 27.78 kB / 0.677 GB, free: 48 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004625/0.325, allocations: 156 kB / 0.6771 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007124/0.3257, allocations: 282.7 kB / 0.6774 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/0.3362, allocations: 4.48 MB / 0.6818 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4382/0.7745, allocations: 20.09 MB / 0.7014 GB, free: 76.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.7761, allocations: 1.121 MB / 0.7025 GB, free: 76.37 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.7773, allocations: 1.018 MB / 0.7035 GB, free: 76.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.919e-05/0.7774, allocations: 16.28 kB / 0.7035 GB, free: 76.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.7774, allocations: 47.19 kB / 0.7036 GB, free: 76.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=110): time 3.115e-06/0.7775, allocations: 0 / 0.7036 GB, free: 76.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.02355/0.801, allocations: 9.688 MB / 0.713 GB, free: 74.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.21e-05/0.8012, allocations: 65.91 kB / 0.7131 GB, free: 74.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004045/0.8052, allocations: 1.49 MB / 0.7145 GB, free: 74.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.8054, allocations: 50.3 kB / 0.7146 GB, free: 74.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002236/0.8077, allocations: 1.646 MB / 0.7162 GB, free: 73.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006006/0.8083, allocations: 467.6 kB / 0.7166 GB, free: 72.81 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.8086, allocations: 146.9 kB / 0.7168 GB, free: 72.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.807e-05/0.8086, allocations: 301.1 kB / 0.7171 GB, free: 72.44 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.8103, allocations: 0.9211 MB / 0.718 GB, free: 72.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/0.8124, allocations: 1.472 MB / 0.7194 GB, free: 71.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003561/0.816, allocations: 2.559 MB / 0.7219 GB, free: 69.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.816, allocations: 4.188 kB / 0.7219 GB, free: 69.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006625/0.8226, allocations: 3.302 MB / 0.7251 GB, free: 68.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.8227, allocations: 13.16 kB / 0.7251 GB, free: 68.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.885e-05/0.8227, allocations: 17.22 kB / 0.7252 GB, free: 68.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002556/0.8253, allocations: 0.7334 MB / 0.7259 GB, free: 67.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.8269, allocations: 391.8 kB / 0.7263 GB, free: 67.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/0.8397, allocations: 15.77 MB / 0.7417 GB, free: 53.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.842, allocations: 103.3 kB / 0.7418 GB, free: 53.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.8422, allocations: 73.06 kB / 0.7418 GB, free: 53.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002637/0.8448, allocations: 1.315 MB / 0.7431 GB, free: 52.67 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004819/0.8453, allocations: 197.7 kB / 0.7433 GB, free: 52.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004672/0.85, allocations: 2.795 MB / 0.746 GB, free: 50.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.85, allocations: 10.31 kB / 0.746 GB, free: 50.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.85, allocations: 10.25 kB / 0.746 GB, free: 50.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.85, allocations: 3.984 kB / 0.746 GB, free: 50.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009117/0.8592, allocations: 6.251 MB / 0.7522 GB, free: 47.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.8592, allocations: 7.594 kB / 0.7522 GB, free: 47.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.8603, allocations: 234.3 kB / 0.7524 GB, free: 47.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/0.8622, allocations: 0.6725 MB / 0.753 GB, free: 46.64 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.514e-05/0.8623, allocations: 34.33 kB / 0.7531 GB, free: 46.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/0.8735, allocations: 15.52 MB / 0.7682 GB, free: 30.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.8736, allocations: 8.062 kB / 0.7682 GB, free: 30.42 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00606/0.8796, allocations: 4.025 MB / 0.7722 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.8809, allocations: 459.2 kB / 0.7726 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002528/0.8812, allocations: 32 kB / 0.7726 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009506/0.8821, allocations: 79.89 kB / 0.7727 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003817/0.8825, allocations: 115.5 kB / 0.7728 GB, free: 25.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.16e-05/0.8826, allocations: 47.98 kB / 0.7729 GB, free: 25.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001236/0.8838, allocations: 0.9903 MB / 0.7738 GB, free: 24.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8839, allocations: 3.469 kB / 0.7738 GB, free: 24.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002694/0.8866, allocations: 0.668 MB / 0.7745 GB, free: 23.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002967/0.8869, allocations: 159.5 kB / 0.7746 GB, free: 23.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004925/0.8918, allocations: 3.513 MB / 0.7781 GB, free: 20.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/0.8918, allocations: 4 kB / 0.7781 GB, free: 20.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002702/0.8945, allocations: 2.299 MB / 0.7803 GB, free: 17.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005318/0.8999, allocations: 0.6141 MB / 0.7809 GB, free: 17.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/0.9135, allocations: 8.248 MB / 0.789 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002758/0.9163, allocations: 2.663 MB / 0.7916 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001802/0.9181, allocations: 0.4896 MB / 0.7921 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.9184, allocations: 115.4 kB / 0.7922 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of SimCode: time 1.573e-06/0.9184, allocations: 0 / 0.7922 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of Templates: time 0.06115/0.9796, allocations: 31.86 MB / 0.8233 GB, free: 6.113 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: