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_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [/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.1572/0.1578, allocations: 82.21 MB / 0.5935 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03138/0.1893, allocations: 29.05 MB / 0.6218 GB, free: 8.801 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01758/0.2069, allocations: 10.26 MB / 0.6319 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003009/0.2099, allocations: 131.2 kB / 0.632 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.2117, allocations: 0.6123 MB / 0.6326 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004906/0.2167, allocations: 1.513 MB / 0.6341 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004333/0.221, allocations: 1.249 MB / 0.6353 GB, free: 11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01065/0.2317, allocations: 8.06 MB / 0.6432 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01775/0.2495, allocations: 10.31 MB / 0.6532 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005211/0.2547, allocations: 2.221 MB / 0.6554 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005044/0.2598, allocations: 2.912 MB / 0.6582 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006113/0.2604, allocations: 264 kB / 0.6585 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.2632, allocations: 0.8349 MB / 0.6593 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002233/0.2654, allocations: 1.976 MB / 0.6612 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001411/0.2669, allocations: 0.9056 MB / 0.6621 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008649/0.2755, allocations: 8.205 MB / 0.6701 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.2755, allocations: 0 / 0.6701 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2756, allocations: 0 / 0.6701 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003052/0.2759, allocations: 0 / 0.6701 GB, free: 7.172 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1226 * Number of variables: 1226 Notification: Performance of Generate backend data structure: time 0.009187/0.2851, allocations: 3.991 MB / 0.674 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.2851, allocations: 8.031 kB / 0.674 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005361/0.2905, allocations: 0.927 MB / 0.6749 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005192/0.2957, allocations: 2.78 MB / 0.6777 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002537/0.296, allocations: 341 kB / 0.678 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008442/0.2968, allocations: 451.9 kB / 0.6784 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01608/0.3129, allocations: 7.542 MB / 0.6858 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002427/0.3132, allocations: 31.72 kB / 0.6858 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001111/0.3143, allocations: 192 kB / 0.686 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003968/0.3147, allocations: 308.7 kB / 0.6863 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/0.3274, allocations: 5.615 MB / 0.6918 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.413/0.7404, allocations: 24.49 MB / 0.7157 GB, free: 73.15 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/0.7432, allocations: 2.145 MB / 0.7178 GB, free: 71.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/0.745, allocations: 1.266 MB / 0.719 GB, free: 71.01 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.186e-05/0.7451, allocations: 17.91 kB / 0.719 GB, free: 71.01 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.7452, allocations: 53.02 kB / 0.7191 GB, free: 70.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=133): time 3.447e-06/0.7452, allocations: 3.938 kB / 0.7191 GB, free: 70.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=136): time 0.01375/0.7589, allocations: 7.078 MB / 0.726 GB, free: 66.37 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.759, allocations: 69.44 kB / 0.7261 GB, free: 66.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.7611, allocations: 1.465 MB / 0.7275 GB, free: 65.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-05/0.7612, allocations: 54.38 kB / 0.7276 GB, free: 65.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.7623, allocations: 1.966 MB / 0.7295 GB, free: 63.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003494/0.7626, allocations: 487.3 kB / 0.7299 GB, free: 63.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.633e-05/0.7627, allocations: 35.94 kB / 0.73 GB, free: 63.24 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.7628, allocations: 377.6 kB / 0.7303 GB, free: 62.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.7639, allocations: 0.9099 MB / 0.7312 GB, free: 62.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.7654, allocations: 1.592 MB / 0.7328 GB, free: 61.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.767, allocations: 1.191 MB / 0.7339 GB, free: 60.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.767, allocations: 5.5 kB / 0.7339 GB, free: 60.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005101/0.7721, allocations: 3.522 MB / 0.7374 GB, free: 58.42 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.7722, allocations: 11.75 kB / 0.7374 GB, free: 58.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/0.7722, allocations: 34.02 kB / 0.7374 GB, free: 58.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/0.7745, allocations: 0.9007 MB / 0.7383 GB, free: 57.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.7756, allocations: 343.6 kB / 0.7386 GB, free: 57.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01513/0.7907, allocations: 21.22 MB / 0.7594 GB, free: 38.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.7925, allocations: 105.1 kB / 0.7595 GB, free: 38.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.7927, allocations: 87.69 kB / 0.7595 GB, free: 38.17 MB / 0.5294 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 (185): * Single equations (assignments): 173 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(3,77.8%) 5,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002665/0.7954, allocations: 1.601 MB / 0.7611 GB, free: 37.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004264/0.7958, allocations: 205.5 kB / 0.7613 GB, free: 36.87 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004464/0.8003, allocations: 2.991 MB / 0.7642 GB, free: 33.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.8003, allocations: 12 kB / 0.7642 GB, free: 33.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.8003, allocations: 12 kB / 0.7642 GB, free: 33.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.8003, allocations: 7.969 kB / 0.7642 GB, free: 33.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009967/0.8103, allocations: 7.031 MB / 0.7711 GB, free: 26.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.8104, allocations: 4 kB / 0.7711 GB, free: 26.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006811/0.811, allocations: 179.7 kB / 0.7713 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00204/0.8131, allocations: 0.822 MB / 0.7721 GB, free: 25.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-05/0.8132, allocations: 28 kB / 0.7721 GB, free: 25.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/0.8266, allocations: 20.29 MB / 0.7919 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.279e-06/0.8266, allocations: 4.125 kB / 0.7919 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004333/0.8309, allocations: 3.019 MB / 0.7949 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008055/0.8318, allocations: 474.4 kB / 0.7953 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.832, allocations: 24 kB / 0.7954 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006881/0.8327, allocations: 75.91 kB / 0.7954 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003218/0.833, allocations: 124.7 kB / 0.7956 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.072e-05/0.8331, allocations: 39.94 kB / 0.7956 GB, free: 15.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001357/0.8345, allocations: 0.9639 MB / 0.7965 GB, free: 14.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8345, allocations: 3.562 kB / 0.7965 GB, free: 14.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003195/0.8377, allocations: 0.7539 MB / 0.7973 GB, free: 14.06 MB / 0.545 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002516/0.8379, allocations: 143.1 kB / 0.7974 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006062/0.844, allocations: 4.023 MB / 0.8013 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.844, allocations: 0 / 0.8013 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003537/0.8476, allocations: 2.744 MB / 0.804 GB, free: 6.844 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/0.8506, allocations: 0.6625 MB / 0.8047 GB, free: 6.191 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.864, allocations: 8.776 MB / 0.8132 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003559/0.8676, allocations: 3.104 MB / 0.8163 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001678/0.8693, allocations: 473.9 kB / 0.8167 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.8696, allocations: 115.4 kB / 0.8168 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.8696, allocations: 0 / 0.8168 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of Templates: time 0.05947/0.9291, allocations: 32.95 MB / 0.849 GB, free: 9.113 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: