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_RLC_N.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.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [/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.2055/0.2068, allocations: 82.22 MB / 0.5935 GB, free: 5.945 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03905/0.2459, allocations: 36.78 MB / 0.6294 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02623/0.2722, allocations: 14.78 MB / 0.6438 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00529/0.2776, allocations: 159.1 kB / 0.644 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003815/0.2814, allocations: 0.8333 MB / 0.6448 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009533/0.291, allocations: 2.363 MB / 0.6471 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007643/0.2987, allocations: 1.889 MB / 0.649 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0185/0.3172, allocations: 12.41 MB / 0.6611 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02546/0.3427, allocations: 13.96 MB / 0.6747 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008373/0.3511, allocations: 3.494 MB / 0.6781 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009157/0.3603, allocations: 4.657 MB / 0.6827 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002834/0.3632, allocations: 392 kB / 0.683 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005244/0.3685, allocations: 0.8781 MB / 0.6839 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.005561/0.3741, allocations: 2.88 MB / 0.6867 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003724/0.3778, allocations: 1.33 MB / 0.688 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.4075/0.7854, allocations: 11.57 MB / 0.6993 GB, free: 27.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.7854, allocations: 0 / 0.6993 GB, free: 27.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.039e-06/0.7854, allocations: 0 / 0.6993 GB, free: 27.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0007007/0.7862, allocations: 0 / 0.6993 GB, free: 27.29 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1632 * Number of variables: 1632 Notification: Performance of Generate backend data structure: time 0.02236/0.8085, allocations: 6.138 MB / 0.7053 GB, free: 24.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.8086, allocations: 8.656 kB / 0.7053 GB, free: 24.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/0.8208, allocations: 1.485 MB / 0.7068 GB, free: 24.53 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/0.8331, allocations: 4.077 MB / 0.7107 GB, free: 23.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007692/0.8339, allocations: 445.5 kB / 0.7112 GB, free: 23.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004336/0.8383, allocations: 0.5836 MB / 0.7117 GB, free: 23.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03755/0.8759, allocations: 10.52 MB / 0.722 GB, free: 22.67 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005921/0.8765, allocations: 31.3 kB / 0.722 GB, free: 22.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00395/0.8805, allocations: 262.1 kB / 0.7223 GB, free: 22.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003064/0.8836, allocations: 0.7705 MB / 0.723 GB, free: 22.65 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02496/0.9086, allocations: 8.444 MB / 0.7313 GB, free: 22.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06477/0.9734, allocations: 34.04 MB / 0.7645 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006287/0.9797, allocations: 4.296 MB / 0.7687 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005333/0.9851, allocations: 3.68 MB / 0.7723 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000474/0.9856, allocations: 37.16 kB / 0.7724 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/0.9857, allocations: 72.84 kB / 0.7724 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=353): time 5.35e-06/0.9857, allocations: 0 / 0.7724 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of matching and sorting (n=578): time 0.5359/1.522, allocations: 127.9 MB / 0.8973 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.522, allocations: 111.9 kB / 0.8974 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005675/1.527, allocations: 2.657 MB / 0.9 GB, free: 15.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001443/1.529, allocations: 120.3 kB / 0.9001 GB, free: 15.68 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00225/1.531, allocations: 2.629 MB / 0.9027 GB, free: 13.02 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003196/1.534, allocations: 1.937 MB / 0.9046 GB, free: 11.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/1.536, allocations: 112 kB / 0.9047 GB, free: 10.99 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0004845/1.536, allocations: 0.5217 MB / 0.9052 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007689/1.544, allocations: 4.075 MB / 0.9092 GB, free: 6.383 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008822/1.553, allocations: 5.007 MB / 0.9141 GB, free: 1.066 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009009/1.562, allocations: 4.837 MB / 0.9188 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.439e-05/1.562, allocations: 8 kB / 0.9188 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0452/1.607, allocations: 16.93 MB / 0.9353 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.004e-05/1.607, allocations: 17.94 kB / 0.9354 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.697e-05/1.607, allocations: 28 kB / 0.9354 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03242/1.64, allocations: 9.23 MB / 0.9444 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002658/1.642, allocations: 0.5293 MB / 0.9449 GB, free: 1.734 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4519/2.094, allocations: 70.82 MB / 1.014 GB, free: 231.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006178/2.101, allocations: 279.2 kB / 1.014 GB, free: 231.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001412/2.102, allocations: 188.6 kB / 1.015 GB, free: 231.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,92.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(24,40.6%) 62,(6,77.8%) 40,(8,73.4%) 70,(9,66.7%) 69,(7,83.7%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005548/2.108, allocations: 2.417 MB / 1.017 GB, free: 230.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001228/2.109, allocations: 477.3 kB / 1.017 GB, free: 230.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03434/2.143, allocations: 16.76 MB / 1.034 GB, free: 220.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-05/2.143, allocations: 62.27 kB / 1.034 GB, free: 220.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002425/2.144, allocations: 72.88 kB / 1.034 GB, free: 220.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001366/2.144, allocations: 27.89 kB / 1.034 GB, free: 220.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06048/2.204, allocations: 25.67 MB / 1.059 GB, free: 194.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.503e-05/2.204, allocations: 8 kB / 1.059 GB, free: 194.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001934/2.206, allocations: 319.6 kB / 1.059 GB, free: 194.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02742/2.234, allocations: 8.244 MB / 1.067 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002042/2.236, allocations: 112 kB / 1.067 GB, free: 186 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09256/2.328, allocations: 67.44 MB / 1.133 GB, free: 117.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/2.328, allocations: 11.94 kB / 1.133 GB, free: 117.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04503/2.373, allocations: 21.54 MB / 1.154 GB, free: 95.24 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00461/2.378, allocations: 1.366 MB / 1.156 GB, free: 93.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002332/2.38, allocations: 104 kB / 1.156 GB, free: 93.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004729/2.385, allocations: 291.6 kB / 1.156 GB, free: 93.46 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002852/2.388, allocations: 0.5182 MB / 1.157 GB, free: 92.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001042/2.389, allocations: 144 kB / 1.157 GB, free: 92.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00401/2.393, allocations: 1.753 MB / 1.158 GB, free: 91.06 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.72e-07/2.393, allocations: 0 / 1.158 GB, free: 91.06 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01384/2.407, allocations: 2.379 MB / 1.161 GB, free: 88.68 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(7,71.4%) 71,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001899/2.409, allocations: 241.8 kB / 1.161 GB, free: 88.44 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02755/2.437, allocations: 14.78 MB / 1.175 GB, free: 73.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.739e-05/2.437, allocations: 4 kB / 1.175 GB, free: 73.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.02136/2.458, allocations: 9.375 MB / 1.185 GB, free: 63.96 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01216/2.47, allocations: 1.278 MB / 1.186 GB, free: 62.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03783/2.508, allocations: 18.56 MB / 1.204 GB, free: 44.05 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008476/2.517, allocations: 4.883 MB / 1.209 GB, free: 39.14 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003639/2.52, allocations: 0.7566 MB / 1.209 GB, free: 38.38 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006057/2.521, allocations: 199.4 kB / 1.21 GB, free: 38.18 MB / 0.7169 GB Notification: Performance of SimCode: time 2.014e-06/2.521, allocations: 0 / 1.21 GB, free: 38.18 MB / 0.7169 GB Notification: Performance of Templates: time 0.5723/3.093, allocations: 135.2 MB / 1.342 GB, free: 174.8 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) Environment - environmentSimulation: