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.1764/0.1784, allocations: 80.85 MB / 0.6707 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02869/0.2071, allocations: 26.16 MB / 0.6962 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01434/0.2215, allocations: 8.48 MB / 0.7045 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002795/0.2244, allocations: 111.4 kB / 0.7046 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006847/0.2313, allocations: 2.745 MB / 0.7073 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005001/0.2363, allocations: 1.652 MB / 0.7089 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004495/0.2408, allocations: 1.671 MB / 0.7105 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009199/0.25, allocations: 6.002 MB / 0.7164 GB, free: 3.012 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00986/0.2599, allocations: 7.3 MB / 0.7235 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004734/0.2647, allocations: 2.539 MB / 0.726 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004337/0.2691, allocations: 2.846 MB / 0.7288 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009588/0.2701, allocations: 0.5 MB / 0.7293 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.2728, allocations: 1.283 MB / 0.7305 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002108/0.2749, allocations: 1.996 MB / 0.7325 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003246/0.2782, allocations: 2.315 MB / 0.7347 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009504/0.2877, allocations: 7.915 MB / 0.7424 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.2877, allocations: 0 / 0.7424 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.376e-06/0.2877, allocations: 3.938 kB / 0.7425 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002191/0.288, allocations: 3.938 kB / 0.7425 GB, free: 8.145 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.01123/0.2992, allocations: 4.181 MB / 0.7465 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.2993, allocations: 8.031 kB / 0.7465 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004388/0.3037, allocations: 0.7844 MB / 0.7473 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005358/0.309, allocations: 2.561 MB / 0.7498 GB, free: 496 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.3093, allocations: 275.5 kB / 0.7501 GB, free: 220 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.5213/0.8306, allocations: 358.8 kB / 0.7504 GB, free: 69.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02051/0.8512, allocations: 5.933 MB / 0.7562 GB, free: 68.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001958/0.8515, allocations: 21.97 kB / 0.7562 GB, free: 68.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006643/0.8521, allocations: 157.8 kB / 0.7564 GB, free: 68.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009256/0.8531, allocations: 280.2 kB / 0.7567 GB, free: 68.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/0.8675, allocations: 4.482 MB / 0.761 GB, free: 66.47 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.038/0.9056, allocations: 19.86 MB / 0.7804 GB, free: 52.63 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.9075, allocations: 1.126 MB / 0.7815 GB, free: 52.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.9089, allocations: 1.011 MB / 0.7825 GB, free: 51.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.052e-05/0.909, allocations: 15.22 kB / 0.7825 GB, free: 51.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.9091, allocations: 53.56 kB / 0.7826 GB, free: 51.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=110): time 3.587e-06/0.9091, allocations: 3.938 kB / 0.7826 GB, free: 51.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=131): time 0.02289/0.932, allocations: 9.664 MB / 0.792 GB, free: 45.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.9321, allocations: 72.34 kB / 0.7921 GB, free: 45.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.9341, allocations: 1.494 MB / 0.7935 GB, free: 44.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.9343, allocations: 49.64 kB / 0.7936 GB, free: 44.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008253/0.9351, allocations: 1.64 MB / 0.7952 GB, free: 43.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003455/0.9355, allocations: 467.6 kB / 0.7956 GB, free: 43.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004617/0.936, allocations: 332.5 kB / 0.796 GB, free: 42.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.936, allocations: 305.1 kB / 0.7962 GB, free: 42.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.9371, allocations: 0.919 MB / 0.7971 GB, free: 42.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.9385, allocations: 1.466 MB / 0.7986 GB, free: 40.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003112/0.9416, allocations: 2.564 MB / 0.8011 GB, free: 39.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.9417, allocations: 8 kB / 0.8011 GB, free: 39.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005248/0.9469, allocations: 3.298 MB / 0.8043 GB, free: 35.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.947, allocations: 12 kB / 0.8043 GB, free: 35.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.947, allocations: 16.52 kB / 0.8043 GB, free: 35.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002118/0.9491, allocations: 0.7413 MB / 0.8051 GB, free: 34.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.9506, allocations: 383.4 kB / 0.8054 GB, free: 34.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/0.9634, allocations: 17.04 MB / 0.8221 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.9654, allocations: 107.8 kB / 0.8222 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.9656, allocations: 76.62 kB / 0.8222 GB, free: 16.06 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.002563/0.9681, allocations: 1.317 MB / 0.8235 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004518/0.9686, allocations: 197.7 kB / 0.8237 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/0.973, allocations: 2.796 MB / 0.8264 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.973, allocations: 17.77 kB / 0.8265 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.973, allocations: 8 kB / 0.8265 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.973, allocations: 3.984 kB / 0.8265 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009721/0.9828, allocations: 6.249 MB / 0.8326 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.9828, allocations: 8 kB / 0.8326 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.9839, allocations: 236.3 kB / 0.8328 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/0.9857, allocations: 0.671 MB / 0.8335 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.602e-05/0.9858, allocations: 39.86 kB / 0.8335 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01569/1.001, allocations: 16.79 MB / 0.8499 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/1.002, allocations: 11.94 kB / 0.8499 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007428/1.009, allocations: 4.016 MB / 0.8538 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/1.011, allocations: 454.5 kB / 0.8543 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/1.011, allocations: 32.12 kB / 0.8543 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009861/1.012, allocations: 91.83 kB / 0.8544 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004266/1.012, allocations: 116.7 kB / 0.8545 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/1.012, allocations: 40 kB / 0.8545 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001614/1.014, allocations: 0.9942 MB / 0.8555 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.21e-07/1.014, allocations: 0 / 0.8555 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003215/1.017, allocations: 0.6641 MB / 0.8561 GB, free: 11.76 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.0003535/1.018, allocations: 156.3 kB / 0.8563 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006258/1.024, allocations: 3.529 MB / 0.8597 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.024, allocations: 0.875 kB / 0.8597 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003659/1.028, allocations: 2.301 MB / 0.862 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003323/1.031, allocations: 0.6748 MB / 0.8626 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/1.044, allocations: 6.512 MB / 0.869 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003371/1.048, allocations: 2.659 MB / 0.8716 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002015/1.05, allocations: 0.4896 MB / 0.8721 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/1.05, allocations: 119.4 kB / 0.8722 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of SimCode: time 1.483e-06/1.05, allocations: 0 / 0.8722 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of Templates: time 0.07615/1.126, allocations: 33.94 MB / 0.9053 GB, free: 9.516 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)