Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8371/0.8371, allocations: 133.7 MB / 148.6 MB, free: 13.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0011/0.0011, allocations: 179 kB / 180.9 MB, free: 15.1 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.439/1.439, allocations: 170.7 MB / 383.7 MB, free: 16.15 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001698/0.001698, allocations: 118.4 kB / 454.6 MB, free: 9.707 MB / 346.7 MB [/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.173/0.1736, allocations: 73.41 MB / 0.6812 GB, free: 5.523 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5753/0.7489, allocations: 155.8 MB / 0.8334 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.7493, allocations: 106 kB / 0.8335 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1584/0.9077, allocations: 65.73 MB / 0.8977 GB, free: 5.262 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9077, allocations: 0 / 0.8977 GB, free: 5.262 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.869e-05/0.9078, allocations: 43.88 kB / 0.8977 GB, free: 5.219 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004229/0.9121, allocations: 1.78 MB / 0.8995 GB, free: 3.383 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.9121, allocations: 8.562 kB / 0.8995 GB, free: 3.375 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003463/0.9156, allocations: 0.6573 MB / 0.9001 GB, free: 2.715 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/0.9191, allocations: 1.234 MB / 0.9013 GB, free: 1.438 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.252e-05/0.9192, allocations: 127.1 kB / 0.9014 GB, free: 1.312 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003319/0.9195, allocations: 163.9 kB / 0.9016 GB, free: 1.152 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004895/0.9244, allocations: 2.62 MB / 0.9042 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.9245, allocations: 0 / 0.9042 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/0.9247, allocations: 71.98 kB / 0.9042 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.9248, allocations: 87.17 kB / 0.9043 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003894/0.9287, allocations: 2.202 MB / 0.9065 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/0.9425, allocations: 8.341 MB / 0.9146 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.9438, allocations: 0.7701 MB / 0.9154 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.944, allocations: 93.45 kB / 0.9154 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.944, allocations: 38.94 kB / 0.9155 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=46): time 4.248e-06/0.944, allocations: 0 / 0.9155 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of matching and sorting (n=70): time 0.0266/0.9706, allocations: 8.396 MB / 0.9237 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.9708, allocations: 85.67 kB / 0.9238 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.9721, allocations: 0.8548 MB / 0.9246 GB, free: 9.117 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.9723, allocations: 41.64 kB / 0.9246 GB, free: 9.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000545/0.9728, allocations: 0.762 MB / 0.9254 GB, free: 8.297 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.9731, allocations: 244.5 kB / 0.9256 GB, free: 8.055 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/0.9732, allocations: 24 kB / 0.9256 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.9734, allocations: 398.7 kB / 0.926 GB, free: 7.633 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.9746, allocations: 0.8028 MB / 0.9268 GB, free: 6.828 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.976, allocations: 1.164 MB / 0.9279 GB, free: 5.508 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.9775, allocations: 1.01 MB / 0.9289 GB, free: 4.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.9775, allocations: 0 / 0.9289 GB, free: 4.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.008532/0.986, allocations: 3.522 MB / 0.9324 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.392/1.378, allocations: 4.261 MB / 0.9365 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/1.378, allocations: 15.11 kB / 0.9365 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00741/1.386, allocations: 1.862 MB / 0.9384 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/1.387, allocations: 226.1 kB / 0.9386 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/1.397, allocations: 7.023 MB / 0.9454 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.399, allocations: 188.1 kB / 0.9456 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/1.399, allocations: 48.75 kB / 0.9457 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/1.399, allocations: 3.344 kB / 0.9457 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007606/1.407, allocations: 2.875 MB / 0.9485 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-05/1.407, allocations: 10.16 kB / 0.9485 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004728/1.412, allocations: 1.154 MB / 0.9496 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/1.413, allocations: 294.4 kB / 0.9499 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008392/1.421, allocations: 5.852 MB / 0.9556 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/1.423, allocations: 159.8 kB / 0.9558 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.666e-05/1.423, allocations: 50.03 kB / 0.9558 GB, free: 133.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001717/1.425, allocations: 0.8963 MB / 0.9567 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/1.425, allocations: 86.38 kB / 0.9568 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007628/1.433, allocations: 3.117 MB / 0.9598 GB, free: 133 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/1.433, allocations: 7.75 kB / 0.9598 GB, free: 133 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/1.433, allocations: 7.109 kB / 0.9598 GB, free: 133 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/1.433, allocations: 3.469 kB / 0.9598 GB, free: 133 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/1.444, allocations: 5.199 MB / 0.9649 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.444, allocations: 6.094 kB / 0.9649 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/1.444, allocations: 105.7 kB / 0.965 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006246/1.45, allocations: 1.786 MB / 0.9667 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/1.45, allocations: 10.59 kB / 0.9668 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/1.463, allocations: 9.997 MB / 0.9765 GB, free: 129 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.463, allocations: 3.156 kB / 0.9765 GB, free: 129 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007044/1.47, allocations: 3.106 MB / 0.9796 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000879/1.471, allocations: 338 kB / 0.9799 GB, free: 127.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/1.471, allocations: 17.81 kB / 0.9799 GB, free: 127.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008234/1.472, allocations: 146.1 kB / 0.98 GB, free: 127.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003074/1.472, allocations: 66.56 kB / 0.9801 GB, free: 127.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/1.472, allocations: 23 kB / 0.9801 GB, free: 127.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008821/1.473, allocations: 0.6743 MB / 0.9808 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/1.473, allocations: 0 / 0.9808 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002256/1.475, allocations: 0.6796 MB / 0.9814 GB, free: 127.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003499/1.476, allocations: 184.3 kB / 0.9816 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006202/1.482, allocations: 3.619 MB / 0.9852 GB, free: 126 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.482, allocations: 6.047 kB / 0.9852 GB, free: 126 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001992/1.484, allocations: 1.346 MB / 0.9865 GB, free: 125.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/1.485, allocations: 226.7 kB / 0.9867 GB, free: 125.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005773/1.491, allocations: 4.098 MB / 0.9907 GB, free: 123.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/1.492, allocations: 1.743 MB / 0.9924 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001409/1.494, allocations: 0.5382 MB / 0.9929 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/1.494, allocations: 59 kB / 0.993 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.014e-06/1.494, allocations: 4 kB / 0.993 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.04449/1.538, allocations: 27.82 MB / 1.02 GB, free: 121 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)