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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8189/0.8189, allocations: 133.7 MB / 148.6 MB, free: 13.65 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.001056/0.001056, allocations: 167.2 kB / 180.9 MB, free: 15.08 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.663/1.663, allocations: 170.7 MB / 383.7 MB, free: 16.13 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.001578/0.001578, allocations: 118.5 kB / 454.6 MB, free: 9.703 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.1912/0.1917, allocations: 73.41 MB / 0.6812 GB, free: 5.547 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5583/0.75, allocations: 155 MB / 0.8325 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003854/0.7505, allocations: 106.2 kB / 0.8326 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1589/0.9094, allocations: 63.12 MB / 0.8943 GB, free: 8.82 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.145e-06/0.9094, allocations: 0 / 0.8943 GB, free: 8.82 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001479/0.9096, allocations: 32 kB / 0.8943 GB, free: 8.789 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.005773/0.9154, allocations: 1.649 MB / 0.8959 GB, free: 7.086 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.9154, allocations: 8.562 kB / 0.8959 GB, free: 7.078 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/0.9186, allocations: 0.4936 MB / 0.8964 GB, free: 6.582 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00334/0.922, allocations: 1.139 MB / 0.8975 GB, free: 5.398 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.9221, allocations: 107 kB / 0.8976 GB, free: 5.293 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006566/0.9228, allocations: 158.9 kB / 0.8978 GB, free: 5.141 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006473/0.9293, allocations: 2.465 MB / 0.9002 GB, free: 2.609 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.178e-05/0.9294, allocations: 0 / 0.9002 GB, free: 2.609 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003318/0.9297, allocations: 60 kB / 0.9002 GB, free: 2.551 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.9299, allocations: 87.03 kB / 0.9003 GB, free: 2.465 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004168/0.934, allocations: 2.026 MB / 0.9023 GB, free: 444 kB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01723/0.9513, allocations: 8.233 MB / 0.9103 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.9525, allocations: 0.5804 MB / 0.9109 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.9527, allocations: 89.98 kB / 0.911 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/0.9528, allocations: 46.5 kB / 0.911 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=36): time 3.958e-06/0.9528, allocations: 0 / 0.911 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of matching and sorting (n=52): time 0.01829/0.9711, allocations: 5.715 MB / 0.9166 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.9712, allocations: 89.53 kB / 0.9167 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.9725, allocations: 0.8116 MB / 0.9175 GB, free: 436 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.9726, allocations: 33.7 kB / 0.9175 GB, free: 396 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005477/0.9732, allocations: 0.7424 MB / 0.9183 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.9734, allocations: 189.4 kB / 0.9184 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.9734, allocations: 20 kB / 0.9185 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.9736, allocations: 382.8 kB / 0.9188 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009968/0.9746, allocations: 0.646 MB / 0.9194 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.9759, allocations: 1.011 MB / 0.9204 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.977, allocations: 0.8218 MB / 0.9212 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/0.9771, allocations: 4 kB / 0.9212 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.007191/0.9843, allocations: 2.936 MB / 0.9241 GB, free: 9.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001736/0.986, allocations: 4.533 MB / 0.9285 GB, free: 4.539 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.9861, allocations: 12 kB / 0.9285 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006386/0.9925, allocations: 1.56 MB / 0.9301 GB, free: 2.949 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.9936, allocations: 231.5 kB / 0.9303 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3912/1.385, allocations: 7.116 MB / 0.9372 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/1.386, allocations: 161.1 kB / 0.9374 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.032e-05/1.386, allocations: 47.39 kB / 0.9374 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/1.386, allocations: 4.594 kB / 0.9374 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006567/1.393, allocations: 2.405 MB / 0.9398 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-05/1.393, allocations: 14.22 kB / 0.9398 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004348/1.397, allocations: 1.003 MB / 0.9408 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/1.398, allocations: 257 kB / 0.941 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008751/1.407, allocations: 5.603 MB / 0.9465 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/1.409, allocations: 139.4 kB / 0.9466 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-05/1.409, allocations: 43.12 kB / 0.9467 GB, free: 135.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001739/1.41, allocations: 0.8392 MB / 0.9475 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/1.411, allocations: 75.62 kB / 0.9476 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006818/1.417, allocations: 2.48 MB / 0.95 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/1.417, allocations: 9.609 kB / 0.95 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.417, allocations: 2.188 kB / 0.95 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.417, allocations: 7.031 kB / 0.95 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009702/1.427, allocations: 4.324 MB / 0.9542 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.427, allocations: 3 kB / 0.9542 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/1.428, allocations: 94.34 kB / 0.9543 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005565/1.433, allocations: 1.507 MB / 0.9558 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.216e-05/1.433, allocations: 12.72 kB / 0.9558 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/1.443, allocations: 9.923 MB / 0.9655 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/1.444, allocations: 9.781 kB / 0.9655 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006216/1.45, allocations: 2.528 MB / 0.968 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008659/1.451, allocations: 291.5 kB / 0.9683 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/1.451, allocations: 7.031 kB / 0.9683 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007142/1.451, allocations: 124.1 kB / 0.9684 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/1.452, allocations: 52.78 kB / 0.9684 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/1.452, allocations: 18.67 kB / 0.9684 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000955/1.453, allocations: 0.6408 MB / 0.9691 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/1.453, allocations: 0 / 0.9691 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002426/1.455, allocations: 0.5871 MB / 0.9696 GB, free: 129.5 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): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003925/1.456, allocations: 187.4 kB / 0.9698 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00533/1.461, allocations: 3.092 MB / 0.9728 GB, free: 129 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.461, allocations: 0 / 0.9728 GB, free: 129 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001872/1.463, allocations: 1.286 MB / 0.9741 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/1.464, allocations: 209.1 kB / 0.9743 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0063/1.47, allocations: 3.595 MB / 0.9778 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/1.472, allocations: 1.639 MB / 0.9794 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001499/1.473, allocations: 0.4949 MB / 0.9799 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/1.474, allocations: 53.97 kB / 0.9799 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of SimCode: time 1.463e-06/1.474, allocations: 3.828 kB / 0.98 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.03917/1.513, allocations: 22.21 MB / 1.002 GB, free: 125.2 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)