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.7658/0.7658, allocations: 132.5 MB / 139.9 MB, free: 15.39 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.001062/0.001062, allocations: 171.8 kB / 171.8 MB, free: 2.023 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.787/1.787, allocations: 170.6 MB / 374.2 MB, free: 15.65 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.001929/0.001929, allocations: 115.6 kB / 444.8 MB, free: 9.184 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.6475/0.6476, allocations: 73.4 MB / 0.6666 GB, free: 46.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2545/0.9022, allocations: 155.1 MB / 0.8181 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/0.9026, allocations: 96.44 kB / 0.8182 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6781/1.581, allocations: 65.16 MB / 0.8818 GB, free: 126.7 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.405e-06/1.581, allocations: 4.641 kB / 0.8818 GB, free: 126.7 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001118/1.581, allocations: 34.5 kB / 0.8818 GB, free: 126.7 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.004256/1.585, allocations: 1.67 MB / 0.8835 GB, free: 126 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.585, allocations: 8.281 kB / 0.8835 GB, free: 126 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003395/1.589, allocations: 0.6551 MB / 0.8841 GB, free: 125.9 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002753/1.591, allocations: 1.227 MB / 0.8853 GB, free: 125.6 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/1.591, allocations: 55.25 kB / 0.8854 GB, free: 125.6 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003581/1.592, allocations: 103.7 kB / 0.8855 GB, free: 125.6 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003725/1.595, allocations: 1.92 MB / 0.8873 GB, free: 125.6 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004722/1.6, allocations: 2.36 MB / 0.8897 GB, free: 125.4 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.787e-05/1.6, allocations: 2.594 kB / 0.8897 GB, free: 125.4 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/1.6, allocations: 2.344 kB / 0.8897 GB, free: 125.4 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/1.601, allocations: 92.59 kB / 0.8897 GB, free: 125.4 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01495/1.616, allocations: 7.962 MB / 0.8975 GB, free: 122.9 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/1.617, allocations: 0.7234 MB / 0.8982 GB, free: 122.9 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008059/1.618, allocations: 0.5044 MB / 0.8987 GB, free: 122.9 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/1.618, allocations: 96.25 kB / 0.8988 GB, free: 122.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/1.618, allocations: 40 kB / 0.8989 GB, free: 122.8 MB / 0.573 GB Notification: Performance of pre-optimization done (n=46): time 3.016e-06/1.618, allocations: 1.438 kB / 0.8989 GB, free: 122.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=72): time 0.01123/1.629, allocations: 4.363 MB / 0.9031 GB, free: 122.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/1.629, allocations: 88.83 kB / 0.9032 GB, free: 122.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/1.631, allocations: 0.7539 MB / 0.9039 GB, free: 122.2 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000153/1.631, allocations: 26.27 kB / 0.904 GB, free: 122.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004345/1.631, allocations: 0.7646 MB / 0.9047 GB, free: 121.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/1.631, allocations: 246.6 kB / 0.9049 GB, free: 121.5 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-05/1.632, allocations: 0 / 0.9049 GB, free: 121.5 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001806/1.632, allocations: 395.7 kB / 0.9053 GB, free: 121.2 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008894/1.633, allocations: 0.7487 MB / 0.906 GB, free: 121.2 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/1.634, allocations: 1.096 MB / 0.9071 GB, free: 120.8 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/1.635, allocations: 1.084 MB / 0.9082 GB, free: 120.8 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/1.635, allocations: 2.75 kB / 0.9082 GB, free: 120.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00707/1.642, allocations: 3.252 MB / 0.9114 GB, free: 120.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001028/1.644, allocations: 4.279 MB / 0.9155 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.667e-05/1.644, allocations: 12.56 kB / 0.9155 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0049/1.648, allocations: 1.404 MB / 0.9169 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009416/1.649, allocations: 217.9 kB / 0.9171 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009077/1.659, allocations: 7.023 MB / 0.924 GB, free: 112.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/1.66, allocations: 175.2 kB / 0.9242 GB, free: 112.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002086/1.661, allocations: 49.09 kB / 0.9242 GB, free: 112.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/1.661, allocations: 6.938 kB / 0.9242 GB, free: 112.6 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003141/1.664, allocations: 1.675 MB / 0.9258 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/1.664, allocations: 11.08 kB / 0.9259 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.664, allocations: 20.41 kB / 0.9259 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/1.665, allocations: 348.1 kB / 0.9262 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.656e-05/1.665, allocations: 22.11 kB / 0.9262 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/1.666, allocations: 116 kB / 0.9263 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.364e-05/1.667, allocations: 47.06 kB / 0.9264 GB, free: 112.1 MB / 0.573 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003744/1.667, allocations: 141.6 kB / 0.9265 GB, free: 112 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/1.667, allocations: 88.52 kB / 0.9266 GB, free: 111.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00823/1.675, allocations: 3.002 MB / 0.9295 GB, free: 111.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/1.675, allocations: 8.266 kB / 0.9295 GB, free: 111.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/1.675, allocations: 8.469 kB / 0.9295 GB, free: 111.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/1.675, allocations: 3.797 kB / 0.9296 GB, free: 111.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/1.686, allocations: 5.216 MB / 0.9346 GB, free: 109.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.687, allocations: 3.188 kB / 0.9346 GB, free: 109.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/1.687, allocations: 107.2 kB / 0.9347 GB, free: 109.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005103/1.692, allocations: 1.609 MB / 0.9363 GB, free: 109 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/1.692, allocations: 7.156 kB / 0.9363 GB, free: 109 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/1.705, allocations: 9.164 MB / 0.9453 GB, free: 104 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/1.705, allocations: 2.562 kB / 0.9453 GB, free: 104 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007254/1.712, allocations: 2.977 MB / 0.9482 GB, free: 102.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008948/1.713, allocations: 329.8 kB / 0.9485 GB, free: 102.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003629/1.714, allocations: 8.469 kB / 0.9485 GB, free: 102.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/1.715, allocations: 170.9 kB / 0.9487 GB, free: 102.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003851/1.716, allocations: 68.09 kB / 0.9487 GB, free: 102.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.768e-05/1.716, allocations: 23.62 kB / 0.9488 GB, free: 102.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001201/1.717, allocations: 0.5877 MB / 0.9493 GB, free: 102.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.9e-07/1.717, allocations: 0 / 0.9493 GB, free: 102.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003786/1.721, allocations: 0.602 MB / 0.9499 GB, free: 102.4 MB / 0.573 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005034/1.721, allocations: 159.3 kB / 0.9501 GB, free: 102.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006565/1.728, allocations: 2.926 MB / 0.9529 GB, free: 101.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.728, allocations: 2.125 kB / 0.9529 GB, free: 101.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002862/1.731, allocations: 1.336 MB / 0.9542 GB, free: 100.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/1.732, allocations: 205.7 kB / 0.9544 GB, free: 100.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/1.738, allocations: 2.855 MB / 0.9572 GB, free: 99.55 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001866/1.74, allocations: 1.752 MB / 0.9589 GB, free: 98.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001905/1.742, allocations: 0.6486 MB / 0.9596 GB, free: 98.56 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/1.742, allocations: 54.11 kB / 0.9596 GB, free: 98.55 MB / 0.573 GB Notification: Performance of SimCode: time 1.192e-06/1.742, allocations: 1.75 kB / 0.9596 GB, free: 98.55 MB / 0.573 GB Notification: Performance of Templates: time 0.04081/1.783, allocations: 24.18 MB / 0.9832 GB, free: 95.43 MB / 0.573 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)