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_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.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7246/0.7246, allocations: 132.3 MB / 144.9 MB, free: 10.55 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.001011/0.001011, allocations: 176.9 kB / 176.9 MB, free: 2.258 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.146/1.146, allocations: 170.5 MB / 379.3 MB, free: 11.88 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.001567/0.001567, allocations: 114.6 kB / 450 MB, free: 5.859 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.4001/0.4001, allocations: 73.39 MB / 0.6736 GB, free: 47.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1648/0.565, allocations: 159.4 MB / 0.8293 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.5653, allocations: 95.94 kB / 0.8294 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5527/1.118, allocations: 112.8 MB / 0.9395 GB, free: 128.3 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.347e-06/1.118, allocations: 1.188 kB / 0.9395 GB, free: 128.3 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001831/1.118, allocations: 79.69 kB / 0.9395 GB, free: 128.3 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: 784 * Number of variables: 784 Notification: Performance of Generate backend data structure: time 0.007305/1.126, allocations: 2.655 MB / 0.9421 GB, free: 126.9 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.126, allocations: 8.75 kB / 0.9421 GB, free: 126.9 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/1.13, allocations: 0.6426 MB / 0.9428 GB, free: 126.7 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005641/1.136, allocations: 2.062 MB / 0.9448 GB, free: 125.7 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002376/1.136, allocations: 215.8 kB / 0.945 GB, free: 125.6 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/1.137, allocations: 289.8 kB / 0.9453 GB, free: 125.5 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0109/1.148, allocations: 4.52 MB / 0.9497 GB, free: 123.3 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/1.149, allocations: 15.59 kB / 0.9497 GB, free: 123.3 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000378/1.149, allocations: 130.5 kB / 0.9498 GB, free: 123.2 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001669/1.149, allocations: 166.4 kB / 0.95 GB, free: 123.2 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005278/1.154, allocations: 3.323 MB / 0.9532 GB, free: 121.6 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01582/1.17, allocations: 15.06 MB / 0.9679 GB, free: 109.9 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/1.172, allocations: 1.271 MB / 0.9692 GB, free: 109.2 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/1.173, allocations: 1.023 MB / 0.9702 GB, free: 108.8 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.346e-05/1.173, allocations: 11.72 kB / 0.9702 GB, free: 108.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/1.173, allocations: 50.58 kB / 0.9702 GB, free: 108.7 MB / 0.573 GB Notification: Performance of pre-optimization done (n=107): time 3.577e-06/1.173, allocations: 0 / 0.9702 GB, free: 108.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=138): time 0.01606/1.189, allocations: 6.636 MB / 0.9767 GB, free: 105.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/1.189, allocations: 67.92 kB / 0.9768 GB, free: 105.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/1.19, allocations: 0.9509 MB / 0.9777 GB, free: 104.8 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/1.19, allocations: 49.27 kB / 0.9778 GB, free: 104.8 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005703/1.191, allocations: 1.288 MB / 0.979 GB, free: 103.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/1.191, allocations: 479 kB / 0.9795 GB, free: 103.3 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.315e-05/1.191, allocations: 31.38 kB / 0.9795 GB, free: 103.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.191, allocations: 380 kB / 0.9799 GB, free: 102.9 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000969/1.192, allocations: 0.8651 MB / 0.9807 GB, free: 102.5 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/1.194, allocations: 1.322 MB / 0.982 GB, free: 101.4 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/1.195, allocations: 1.117 MB / 0.9831 GB, free: 100.8 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/1.195, allocations: 10.41 kB / 0.9831 GB, free: 100.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.00498/1.2, allocations: 3.378 MB / 0.9864 GB, free: 98.49 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/1.2, allocations: 8 kB / 0.9864 GB, free: 98.48 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/1.2, allocations: 19.94 kB / 0.9864 GB, free: 98.46 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002486/1.202, allocations: 1.132 MB / 0.9875 GB, free: 97.33 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008942/1.203, allocations: 267.5 kB / 0.9878 GB, free: 97.07 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/1.216, allocations: 12.42 MB / 0.9999 GB, free: 84.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/1.217, allocations: 91.97 kB / 1 GB, free: 84.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/1.217, allocations: 68 kB / 1 GB, free: 84.09 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002574/1.218, allocations: 201.4 kB / 1 GB, free: 83.89 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/1.218, allocations: 158.1 kB / 1 GB, free: 83.73 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004607/1.222, allocations: 3.104 MB / 1.003 GB, free: 80.61 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.223, allocations: 12 kB / 1.003 GB, free: 80.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.223, allocations: 12 kB / 1.003 GB, free: 80.59 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/1.223, allocations: 7.969 kB / 1.003 GB, free: 80.58 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008571/1.231, allocations: 6.134 MB / 1.009 GB, free: 74.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.231, allocations: 4 kB / 1.009 GB, free: 74.34 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/1.232, allocations: 151.8 kB / 1.01 GB, free: 74.19 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/1.234, allocations: 1.018 MB / 1.011 GB, free: 73.16 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.286e-05/1.234, allocations: 31.98 kB / 1.011 GB, free: 73.13 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0116/1.246, allocations: 12.12 MB / 1.022 GB, free: 60.61 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.246, allocations: 11.89 kB / 1.022 GB, free: 60.6 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004357/1.25, allocations: 3.321 MB / 1.026 GB, free: 57.05 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009164/1.251, allocations: 411.1 kB / 1.026 GB, free: 56.63 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/1.251, allocations: 32 kB / 1.026 GB, free: 56.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008619/1.252, allocations: 75.89 kB / 1.026 GB, free: 56.52 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003351/1.252, allocations: 128.7 kB / 1.026 GB, free: 56.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.579e-05/1.253, allocations: 39.98 kB / 1.026 GB, free: 56.36 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008994/1.253, allocations: 0.7339 MB / 1.027 GB, free: 55.62 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.253, allocations: 0 / 1.027 GB, free: 55.62 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002127/1.256, allocations: 0.6523 MB / 1.028 GB, free: 54.97 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002156/1.256, allocations: 147.1 kB / 1.028 GB, free: 54.82 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003838/1.26, allocations: 3.029 MB / 1.031 GB, free: 51.75 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.26, allocations: 4 kB / 1.031 GB, free: 51.74 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002302/1.262, allocations: 1.899 MB / 1.033 GB, free: 49.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/1.264, allocations: 438.9 kB / 1.033 GB, free: 49.38 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007005/1.271, allocations: 4.397 MB / 1.037 GB, free: 44.89 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/1.273, allocations: 2.386 MB / 1.04 GB, free: 42.47 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001227/1.274, allocations: 362 kB / 1.04 GB, free: 42.11 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/1.274, allocations: 83.44 kB / 1.04 GB, free: 42.03 MB / 0.573 GB Notification: Performance of SimCode: time 1.082e-06/1.274, allocations: 0 / 1.04 GB, free: 42.03 MB / 0.573 GB Notification: Performance of Templates: time 0.04177/1.316, allocations: 29.02 MB / 1.068 GB, free: 13.23 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)