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.1913/0.192, allocations: 82.21 MB / 0.5934 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02944/0.2215, allocations: 28.14 MB / 0.6209 GB, free: 9.785 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01691/0.2384, allocations: 10.2 MB / 0.6308 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.2415, allocations: 123.2 kB / 0.6309 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.2436, allocations: 0.6289 MB / 0.6315 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005193/0.2488, allocations: 1.293 MB / 0.6328 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004768/0.2536, allocations: 1.268 MB / 0.634 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007075/0.2607, allocations: 3.273 MB / 0.6372 GB, free: 8.969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01592/0.2766, allocations: 10.3 MB / 0.6473 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003915/0.2806, allocations: 1.931 MB / 0.6492 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003813/0.2844, allocations: 1.993 MB / 0.6511 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008712/0.2853, allocations: 264 kB / 0.6514 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.2877, allocations: 0.6983 MB / 0.6521 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002035/0.2898, allocations: 1.801 MB / 0.6538 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.2911, allocations: 0.9134 MB / 0.6547 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009581/0.3007, allocations: 8.08 MB / 0.6626 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3007, allocations: 0 / 0.6626 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.206e-06/0.3007, allocations: 0 / 0.6626 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002936/0.301, allocations: 0 / 0.6626 GB, free: 14.88 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.01044/0.3115, allocations: 3.963 MB / 0.6665 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3115, allocations: 12.03 kB / 0.6665 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005454/0.317, allocations: 0.8841 MB / 0.6673 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006362/0.3234, allocations: 2.784 MB / 0.6701 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002566/0.3237, allocations: 337.1 kB / 0.6704 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/0.3247, allocations: 451.9 kB / 0.6708 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.3381, allocations: 7.506 MB / 0.6781 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000145/0.3383, allocations: 23.78 kB / 0.6782 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004992/0.3388, allocations: 192 kB / 0.6784 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003609/0.3392, allocations: 316.7 kB / 0.6787 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009509/0.3487, allocations: 5.612 MB / 0.6841 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3677/0.7165, allocations: 24.48 MB / 0.708 GB, free: 72.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/0.7192, allocations: 2.153 MB / 0.7101 GB, free: 71.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.735e-05/0.7193, allocations: 19.89 kB / 0.7102 GB, free: 71.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.7193, allocations: 48.14 kB / 0.7102 GB, free: 71.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=133): time 3.266e-06/0.7193, allocations: 0 / 0.7102 GB, free: 71.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=136): time 0.01307/0.7324, allocations: 7.075 MB / 0.7171 GB, free: 69.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.7325, allocations: 65.56 kB / 0.7172 GB, free: 69.31 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.7349, allocations: 1.466 MB / 0.7186 GB, free: 68.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.968e-05/0.735, allocations: 52.31 kB / 0.7187 GB, free: 68.65 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.7363, allocations: 1.97 MB / 0.7206 GB, free: 67.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003814/0.7367, allocations: 479.8 kB / 0.721 GB, free: 66.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/0.7368, allocations: 44.12 kB / 0.7211 GB, free: 66.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.7369, allocations: 380 kB / 0.7214 GB, free: 66.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.7384, allocations: 0.9057 MB / 0.7223 GB, free: 66.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.7402, allocations: 1.586 MB / 0.7239 GB, free: 64.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.7419, allocations: 1.191 MB / 0.725 GB, free: 64.37 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/0.7419, allocations: 6.875 kB / 0.725 GB, free: 64.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006017/0.7479, allocations: 3.519 MB / 0.7285 GB, free: 62.69 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.748, allocations: 14.22 kB / 0.7285 GB, free: 62.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.406e-05/0.748, allocations: 27.03 kB / 0.7285 GB, free: 62.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002311/0.7504, allocations: 0.9037 MB / 0.7294 GB, free: 62.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.7515, allocations: 345.8 kB / 0.7297 GB, free: 62.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0156/0.7671, allocations: 21.58 MB / 0.7508 GB, free: 42.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.7697, allocations: 100.5 kB / 0.7509 GB, free: 42.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/0.7699, allocations: 87.25 kB / 0.751 GB, free: 42.25 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.003298/0.7732, allocations: 1.612 MB / 0.7526 GB, free: 41.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004369/0.7737, allocations: 201.4 kB / 0.7528 GB, free: 41.15 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/0.778, allocations: 2.985 MB / 0.7557 GB, free: 39.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.778, allocations: 11.72 kB / 0.7557 GB, free: 39.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-05/0.778, allocations: 10.72 kB / 0.7557 GB, free: 39.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.778, allocations: 11.97 kB / 0.7557 GB, free: 39.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.7898, allocations: 7.029 MB / 0.7626 GB, free: 34.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.7899, allocations: 4 kB / 0.7626 GB, free: 34.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006959/0.7906, allocations: 175.7 kB / 0.7627 GB, free: 34.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001995/0.7926, allocations: 0.8223 MB / 0.7635 GB, free: 33.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.164e-05/0.7927, allocations: 31.95 kB / 0.7636 GB, free: 33.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01315/0.8058, allocations: 20.65 MB / 0.7837 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.8059, allocations: 4 kB / 0.7837 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00442/0.8103, allocations: 3.31 MB / 0.787 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009656/0.8113, allocations: 462.5 kB / 0.7874 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.8115, allocations: 24 kB / 0.7874 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000754/0.8123, allocations: 81.34 kB / 0.7875 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000328/0.8126, allocations: 124.7 kB / 0.7876 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.268e-05/0.8127, allocations: 40 kB / 0.7877 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001135/0.8138, allocations: 0.9678 MB / 0.7886 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8138, allocations: 0 / 0.7886 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00315/0.817, allocations: 0.7539 MB / 0.7893 GB, free: 5.367 MB / 0.5294 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.000219/0.8172, allocations: 139.1 kB / 0.7895 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004569/0.8218, allocations: 4.019 MB / 0.7934 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.8218, allocations: 4.062 kB / 0.7934 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003359/0.8252, allocations: 2.751 MB / 0.7961 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/0.8281, allocations: 0.6299 MB / 0.7967 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.8417, allocations: 8.779 MB / 0.8053 GB, free: 4.688 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003345/0.8451, allocations: 3.179 MB / 0.8084 GB, free: 1.477 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001659/0.8468, allocations: 469.9 kB / 0.8088 GB, free: 1.016 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.8471, allocations: 111.4 kB / 0.8089 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of SimCode: time 1.422e-06/0.8471, allocations: 0 / 0.8089 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of Templates: time 0.05599/0.9031, allocations: 32.94 MB / 0.8411 GB, free: 420 kB / 0.5762 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: