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.1995/0.2016, allocations: 80.84 MB / 0.6707 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02972/0.2314, allocations: 26.16 MB / 0.6962 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01638/0.2478, allocations: 8.488 MB / 0.7045 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004006/0.2519, allocations: 119.4 kB / 0.7046 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00806/0.26, allocations: 2.747 MB / 0.7073 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006907/0.267, allocations: 1.738 MB / 0.709 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006102/0.2731, allocations: 1.655 MB / 0.7106 GB, free: 8.938 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01003/0.2831, allocations: 6.022 MB / 0.7165 GB, free: 2.898 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01206/0.2952, allocations: 7.3 MB / 0.7236 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005427/0.3007, allocations: 2.578 MB / 0.7261 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0054/0.3062, allocations: 2.854 MB / 0.7289 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001815/0.308, allocations: 0.5038 MB / 0.7294 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004214/0.3122, allocations: 1.275 MB / 0.7307 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003847/0.3161, allocations: 1.996 MB / 0.7326 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005845/0.322, allocations: 2.315 MB / 0.7349 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01381/0.3358, allocations: 7.915 MB / 0.7426 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/0.3359, allocations: 0 / 0.7426 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.867e-06/0.3359, allocations: 0 / 0.7426 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000381/0.3363, allocations: 4 kB / 0.7426 GB, free: 7.992 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: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.01776/0.3541, allocations: 4.184 MB / 0.7467 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.507e-05/0.3542, allocations: 12.03 kB / 0.7467 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006187/0.3604, allocations: 0.7805 MB / 0.7475 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007432/0.3678, allocations: 2.557 MB / 0.75 GB, free: 336 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003387/0.3682, allocations: 271.5 kB / 0.7502 GB, free: 64 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4349/0.8031, allocations: 363.2 kB / 0.7506 GB, free: 70.04 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/0.8176, allocations: 5.936 MB / 0.7564 GB, free: 68.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.8177, allocations: 19.61 kB / 0.7564 GB, free: 68.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004182/0.8181, allocations: 156.3 kB / 0.7565 GB, free: 68.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007712/0.8189, allocations: 283.7 kB / 0.7568 GB, free: 68.06 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/0.8301, allocations: 4.481 MB / 0.7612 GB, free: 66.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02657/0.8567, allocations: 19.85 MB / 0.7806 GB, free: 52.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.8587, allocations: 1.142 MB / 0.7817 GB, free: 52.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/0.8603, allocations: 1.014 MB / 0.7827 GB, free: 51.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.39e-05/0.8604, allocations: 10.75 kB / 0.7827 GB, free: 51.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.8605, allocations: 49 kB / 0.7827 GB, free: 51.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=110): time 3.977e-06/0.8605, allocations: 0 / 0.7827 GB, free: 51.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=131): time 0.02238/0.8829, allocations: 9.661 MB / 0.7922 GB, free: 45.87 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.8829, allocations: 80.25 kB / 0.7922 GB, free: 45.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/0.8849, allocations: 1.495 MB / 0.7937 GB, free: 44.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.885, allocations: 49.67 kB / 0.7937 GB, free: 44.94 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008121/0.8858, allocations: 1.639 MB / 0.7953 GB, free: 43.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003647/0.8862, allocations: 475.7 kB / 0.7958 GB, free: 43.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004744/0.8867, allocations: 325.2 kB / 0.7961 GB, free: 42.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.965e-05/0.8868, allocations: 301.1 kB / 0.7964 GB, free: 42.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.8879, allocations: 0.919 MB / 0.7973 GB, free: 42.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.8893, allocations: 1.472 MB / 0.7987 GB, free: 40.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/0.892, allocations: 2.559 MB / 0.8012 GB, free: 38.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.892, allocations: 5.062 kB / 0.8012 GB, free: 38.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004809/0.8968, allocations: 3.294 MB / 0.8044 GB, free: 35.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.8969, allocations: 15.94 kB / 0.8045 GB, free: 35.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.8969, allocations: 20.09 kB / 0.8045 GB, free: 35.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002058/0.899, allocations: 0.7413 MB / 0.8052 GB, free: 34.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.9004, allocations: 386.5 kB / 0.8056 GB, free: 34.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/0.9126, allocations: 17.04 MB / 0.8222 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.9147, allocations: 99.89 kB / 0.8223 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.9148, allocations: 80 kB / 0.8224 GB, free: 15.95 MB / 0.5762 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.002047/0.9169, allocations: 1.321 MB / 0.8237 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/0.9171, allocations: 201.6 kB / 0.8239 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004314/0.9215, allocations: 2.784 MB / 0.8266 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.9215, allocations: 12 kB / 0.8266 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.9215, allocations: 12 kB / 0.8266 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.9215, allocations: 7.969 kB / 0.8266 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008328/0.9298, allocations: 6.256 MB / 0.8327 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.9299, allocations: 4 kB / 0.8327 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.9309, allocations: 231.6 kB / 0.8329 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001725/0.9327, allocations: 0.6679 MB / 0.8336 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-05/0.9328, allocations: 39.92 kB / 0.8336 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01589/0.9487, allocations: 16.78 MB / 0.85 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.448e-05/0.9487, allocations: 11.92 kB / 0.85 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007405/0.9561, allocations: 4.026 MB / 0.854 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/0.9574, allocations: 462.5 kB / 0.8544 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003141/0.9577, allocations: 28 kB / 0.8544 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009729/0.9587, allocations: 83.89 kB / 0.8545 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003335/0.959, allocations: 116.7 kB / 0.8546 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-05/0.9591, allocations: 40 kB / 0.8547 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001435/0.9605, allocations: 0.9981 MB / 0.8556 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9606, allocations: 0 / 0.8556 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002488/0.963, allocations: 0.6641 MB / 0.8563 GB, free: 11.65 MB / 0.6075 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.0003046/0.9634, allocations: 155 kB / 0.8564 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005402/0.9688, allocations: 3.525 MB / 0.8599 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.9688, allocations: 4 kB / 0.8599 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003324/0.9721, allocations: 2.306 MB / 0.8621 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/0.9749, allocations: 0.6789 MB / 0.8628 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.9861, allocations: 6.512 MB / 0.8692 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002976/0.9892, allocations: 2.663 MB / 0.8718 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001676/0.9909, allocations: 497.4 kB / 0.8722 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.9912, allocations: 119.4 kB / 0.8723 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of SimCode: time 1.342e-06/0.9912, allocations: 0 / 0.8723 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of Templates: time 0.06417/1.055, allocations: 33.94 MB / 0.9055 GB, free: 9.398 MB / 0.6544 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)