Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.4618/0.4643, allocations: 80.82 MB / 0.5904 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02237/0.4867, allocations: 22.27 MB / 0.6122 GB, free: 452 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01307/0.4998, allocations: 6.68 MB / 0.6187 GB, free: 9.766 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003153/0.5031, allocations: 99.5 kB / 0.6188 GB, free: 9.668 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004736/0.5079, allocations: 1.53 MB / 0.6203 GB, free: 8.133 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006109/0.514, allocations: 1.735 MB / 0.622 GB, free: 6.391 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004982/0.519, allocations: 1.329 MB / 0.6233 GB, free: 5.062 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009682/0.5287, allocations: 5.835 MB / 0.629 GB, free: 15.21 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01252/0.5413, allocations: 6.086 MB / 0.6349 GB, free: 9.051 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007523/0.5489, allocations: 2.38 MB / 0.6372 GB, free: 6.664 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008101/0.5571, allocations: 2.909 MB / 0.6401 GB, free: 3.746 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002584/0.5597, allocations: 456 kB / 0.6405 GB, free: 3.301 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005077/0.5648, allocations: 1.092 MB / 0.6416 GB, free: 2.207 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004545/0.5694, allocations: 1.988 MB / 0.6435 GB, free: 220 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006646/0.5761, allocations: 2.116 MB / 0.6456 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.5888, allocations: 7.159 MB / 0.6526 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5888, allocations: 0 / 0.6526 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5888, allocations: 4 kB / 0.6526 GB, free: 6.906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003293/0.5892, allocations: 0 / 0.6526 GB, free: 6.906 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 904 * Number of variables: 904 Notification: Performance of Generate backend data structure: time 0.01393/0.6031, allocations: 3.785 MB / 0.6563 GB, free: 3.059 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.6032, allocations: 11.98 kB / 0.6563 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007295/0.6105, allocations: 1.194 MB / 0.6575 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005807/0.6163, allocations: 2.215 MB / 0.6596 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.6166, allocations: 238.3 kB / 0.6599 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.6179, allocations: 311.9 kB / 0.6602 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01461/0.6325, allocations: 6.18 MB / 0.6662 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001345/0.6327, allocations: 19.88 kB / 0.6662 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005389/0.6333, allocations: 132 kB / 0.6663 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005627/0.6338, allocations: 406.2 kB / 0.6667 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.6439, allocations: 4.642 MB / 0.6713 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03727/0.6812, allocations: 22.27 MB / 0.693 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.6837, allocations: 1.46 MB / 0.6944 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/0.6858, allocations: 1.515 MB / 0.6959 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.34e-05/0.6859, allocations: 17 kB / 0.6959 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.686, allocations: 39.56 kB / 0.696 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=110): time 4.829e-06/0.686, allocations: 0 / 0.696 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of matching and sorting (n=179): time 0.1492/0.8351, allocations: 35.92 MB / 0.731 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.8353, allocations: 69.41 kB / 0.7311 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.8375, allocations: 1.423 MB / 0.7325 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004138/0.8379, allocations: 57.7 kB / 0.7326 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.839, allocations: 1.531 MB / 0.734 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007905/0.8398, allocations: 0.6084 MB / 0.7346 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007227/0.8405, allocations: 387.3 kB / 0.735 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.8406, allocations: 301.1 kB / 0.7353 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002536/0.8432, allocations: 1.823 MB / 0.7371 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002889/0.8461, allocations: 2.397 MB / 0.7394 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005601/0.8517, allocations: 4.48 MB / 0.7438 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/0.8517, allocations: 11.94 kB / 0.7438 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.3804/1.232, allocations: 8.511 MB / 0.7521 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/1.232, allocations: 14.3 kB / 0.7521 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.455e-05/1.232, allocations: 17.53 kB / 0.7521 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01513/1.247, allocations: 4.532 MB / 0.7566 GB, free: 140.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/1.249, allocations: 300.4 kB / 0.7569 GB, free: 140.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04137/1.29, allocations: 33.21 MB / 0.7893 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/1.293, allocations: 127.9 kB / 0.7894 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/1.293, allocations: 80 kB / 0.7895 GB, free: 120.4 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,91.7%), (11,13,93.4%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002244/1.295, allocations: 1.34 MB / 0.7908 GB, free: 119.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004228/1.296, allocations: 196 kB / 0.791 GB, free: 118.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01495/1.311, allocations: 8.398 MB / 0.7992 GB, free: 110.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/1.311, allocations: 19.94 kB / 0.7992 GB, free: 110.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.812e-05/1.311, allocations: 28 kB / 0.7992 GB, free: 110.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.839e-05/1.311, allocations: 7.969 kB / 0.7992 GB, free: 110.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02124/1.332, allocations: 12.94 MB / 0.8119 GB, free: 97.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/1.332, allocations: 8.484 kB / 0.8119 GB, free: 97.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007188/1.333, allocations: 168.5 kB / 0.812 GB, free: 97.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01222/1.345, allocations: 4.382 MB / 0.8163 GB, free: 92.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003109/1.345, allocations: 40 kB / 0.8164 GB, free: 92.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0368/1.382, allocations: 32.88 MB / 0.8485 GB, free: 59.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/1.382, allocations: 11.94 kB / 0.8485 GB, free: 59.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/1.396, allocations: 8.202 MB / 0.8565 GB, free: 50.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/1.398, allocations: 0.627 MB / 0.8571 GB, free: 50.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/1.398, allocations: 43.98 kB / 0.8572 GB, free: 50.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.4, allocations: 111.8 kB / 0.8573 GB, free: 49.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008646/1.401, allocations: 179.8 kB / 0.8574 GB, free: 49.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/1.401, allocations: 48 kB / 0.8575 GB, free: 49.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001156/1.402, allocations: 0.9588 MB / 0.8584 GB, free: 48.76 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.402, allocations: 0 / 0.8584 GB, free: 48.76 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003788/1.406, allocations: 1.094 MB / 0.8595 GB, free: 47.67 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,90.1%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002993/1.406, allocations: 142.9 kB / 0.8596 GB, free: 47.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01206/1.418, allocations: 7.217 MB / 0.8667 GB, free: 40.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/1.418, allocations: 4 kB / 0.8667 GB, free: 40.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009407/1.428, allocations: 4.429 MB / 0.871 GB, free: 35.76 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002948/1.431, allocations: 0.5382 MB / 0.8715 GB, free: 35.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/1.442, allocations: 6.979 MB / 0.8783 GB, free: 28.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002291/1.444, allocations: 2.738 MB / 0.881 GB, free: 25.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00113/1.445, allocations: 400.5 kB / 0.8814 GB, free: 25.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/1.445, allocations: 99.42 kB / 0.8815 GB, free: 24.94 MB / 0.5762 GB Notification: Performance of SimCode: time 1.643e-06/1.445, allocations: 4 kB / 0.8815 GB, free: 24.93 MB / 0.5762 GB Notification: Performance of Templates: time 0.09777/1.543, allocations: 60.96 MB / 0.941 GB, free: 12.31 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)