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.2026/0.2046, allocations: 80.83 MB / 0.5897 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02873/0.2334, allocations: 25.95 MB / 0.615 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01627/0.2497, allocations: 8.491 MB / 0.6233 GB, free: 4.578 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003895/0.2537, allocations: 103.4 kB / 0.6234 GB, free: 4.477 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00784/0.2616, allocations: 2.556 MB / 0.6259 GB, free: 1.918 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006804/0.2684, allocations: 1.552 MB / 0.6274 GB, free: 368 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006076/0.2746, allocations: 1.523 MB / 0.6289 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01258/0.2872, allocations: 8.572 MB / 0.6373 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01403/0.3013, allocations: 8.172 MB / 0.6453 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004696/0.306, allocations: 2.168 MB / 0.6474 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00592/0.312, allocations: 2.909 MB / 0.6502 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001636/0.3136, allocations: 340 kB / 0.6506 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004134/0.3178, allocations: 1.326 MB / 0.6519 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003507/0.3213, allocations: 1.832 MB / 0.6536 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.004714/0.3261, allocations: 2.119 MB / 0.6557 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.3371, allocations: 7.797 MB / 0.6633 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-05/0.3372, allocations: 0 / 0.6633 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3372, allocations: 3.938 kB / 0.6633 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004016/0.3376, allocations: 0 / 0.6633 GB, free: 11.43 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.01422/0.3519, allocations: 4.181 MB / 0.6674 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.492e-05/0.352, allocations: 11.97 kB / 0.6674 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005769/0.3577, allocations: 0.7806 MB / 0.6682 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006599/0.3644, allocations: 2.413 MB / 0.6705 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002994/0.3647, allocations: 271.5 kB / 0.6708 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001775/0.3665, allocations: 368.5 kB / 0.6712 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.3801, allocations: 5.939 MB / 0.677 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/0.3803, allocations: 23.78 kB / 0.677 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004896/0.3808, allocations: 156 kB / 0.6771 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006289/0.3815, allocations: 278.8 kB / 0.6774 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00896/0.3904, allocations: 4.488 MB / 0.6818 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.442/0.8324, allocations: 20.04 MB / 0.7013 GB, free: 78.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.8343, allocations: 1.126 MB / 0.7024 GB, free: 78.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.8358, allocations: 1.022 MB / 0.7034 GB, free: 78.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.627e-05/0.8359, allocations: 10.31 kB / 0.7034 GB, free: 78.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.8359, allocations: 47.59 kB / 0.7035 GB, free: 78.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=110): time 3.507e-06/0.8359, allocations: 0 / 0.7035 GB, free: 78.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.02588/0.8618, allocations: 9.663 MB / 0.7129 GB, free: 75.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.8619, allocations: 65 kB / 0.713 GB, free: 75.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003155/0.8651, allocations: 1.498 MB / 0.7145 GB, free: 75.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003359/0.8654, allocations: 51.7 kB / 0.7145 GB, free: 75.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001532/0.867, allocations: 1.644 MB / 0.7161 GB, free: 74.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006536/0.8676, allocations: 463.1 kB / 0.7166 GB, free: 73.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009231/0.8686, allocations: 333.9 kB / 0.7169 GB, free: 73.51 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.8687, allocations: 301.7 kB / 0.7172 GB, free: 73.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.8704, allocations: 0.9173 MB / 0.7181 GB, free: 72.87 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.872, allocations: 1.466 MB / 0.7195 GB, free: 71.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00355/0.8756, allocations: 2.563 MB / 0.722 GB, free: 70.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/0.8756, allocations: 7.312 kB / 0.722 GB, free: 70.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006236/0.8818, allocations: 3.294 MB / 0.7252 GB, free: 68.69 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.488e-05/0.8819, allocations: 11.81 kB / 0.7252 GB, free: 68.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.08e-05/0.882, allocations: 16.66 kB / 0.7252 GB, free: 68.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002117/0.8841, allocations: 0.7462 MB / 0.726 GB, free: 68.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.8856, allocations: 387.3 kB / 0.7263 GB, free: 68.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/0.8977, allocations: 15.76 MB / 0.7417 GB, free: 53.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.8995, allocations: 100.5 kB / 0.7418 GB, free: 53.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.8997, allocations: 74.23 kB / 0.7419 GB, free: 53.57 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.002429/0.9021, allocations: 1.316 MB / 0.7432 GB, free: 52.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005458/0.9027, allocations: 200.7 kB / 0.7434 GB, free: 52.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004784/0.9075, allocations: 2.805 MB / 0.7461 GB, free: 50.96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.9075, allocations: 11.38 kB / 0.7461 GB, free: 50.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.9075, allocations: 7.5 kB / 0.7461 GB, free: 50.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.9075, allocations: 11.91 kB / 0.7461 GB, free: 50.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009816/0.9173, allocations: 6.248 MB / 0.7522 GB, free: 46.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.9174, allocations: 4 kB / 0.7522 GB, free: 46.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.9185, allocations: 240.2 kB / 0.7525 GB, free: 45.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/0.9203, allocations: 0.6699 MB / 0.7531 GB, free: 45.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.9204, allocations: 32 kB / 0.7532 GB, free: 45.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/0.9314, allocations: 15.51 MB / 0.7683 GB, free: 28.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.9314, allocations: 4 kB / 0.7683 GB, free: 28.53 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005483/0.9369, allocations: 4.024 MB / 0.7722 GB, free: 24.39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009816/0.9379, allocations: 462.5 kB / 0.7727 GB, free: 23.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.9382, allocations: 36 kB / 0.7727 GB, free: 23.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008831/0.9391, allocations: 79.89 kB / 0.7728 GB, free: 23.81 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003388/0.9394, allocations: 118 kB / 0.7729 GB, free: 23.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.434e-05/0.9395, allocations: 44 kB / 0.7729 GB, free: 23.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001271/0.9408, allocations: 0.9903 MB / 0.7739 GB, free: 22.67 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9408, allocations: 0 / 0.7739 GB, free: 22.67 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002765/0.9436, allocations: 0.6641 MB / 0.7746 GB, free: 22 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.0003266/0.9439, allocations: 155.8 kB / 0.7747 GB, free: 21.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004788/0.9487, allocations: 3.511 MB / 0.7781 GB, free: 18.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.9488, allocations: 4 kB / 0.7781 GB, free: 18.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002665/0.9514, allocations: 2.299 MB / 0.7804 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/0.9544, allocations: 0.6164 MB / 0.781 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.9652, allocations: 8.17 MB / 0.789 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002302/0.9676, allocations: 2.667 MB / 0.7916 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001753/0.9694, allocations: 497.4 kB / 0.792 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/0.9697, allocations: 123.4 kB / 0.7922 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of SimCode: time 2.004e-06/0.9697, allocations: 0 / 0.7922 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of Templates: time 0.06017/1.03, allocations: 32.38 MB / 0.8238 GB, free: 3.777 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (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)