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_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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.1894/0.1914, allocations: 80.84 MB / 0.5897 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03863/0.2301, allocations: 33.69 MB / 0.6226 GB, free: 5.266 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01969/0.2498, allocations: 12.1 MB / 0.6344 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004034/0.2539, allocations: 147.2 kB / 0.6346 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009929/0.2639, allocations: 3.988 MB / 0.6384 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007381/0.2713, allocations: 1.93 MB / 0.6403 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007901/0.2792, allocations: 2.143 MB / 0.6424 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01601/0.2953, allocations: 12.17 MB / 0.6543 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0187/0.314, allocations: 12.29 MB / 0.6663 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006415/0.3205, allocations: 3.134 MB / 0.6694 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007777/0.3283, allocations: 4.28 MB / 0.6735 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00239/0.3307, allocations: 0.5391 MB / 0.6741 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005793/0.3365, allocations: 2.125 MB / 0.6761 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.005082/0.3417, allocations: 2.732 MB / 0.6788 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.008695/0.3504, allocations: 3.018 MB / 0.6818 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.3808/0.7313, allocations: 11.58 MB / 0.6931 GB, free: 35.63 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.789e-06/0.7314, allocations: 1.375 kB / 0.6931 GB, free: 35.63 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7314, allocations: 0 / 0.6931 GB, free: 35.63 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004528/0.7318, allocations: 0 / 0.6931 GB, free: 35.63 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: 1452 * Number of variables: 1452 Notification: Performance of Generate backend data structure: time 0.01888/0.7507, allocations: 5.694 MB / 0.6986 GB, free: 33.85 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.7508, allocations: 12.53 kB / 0.6986 GB, free: 33.85 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006499/0.7573, allocations: 1.027 MB / 0.6997 GB, free: 33.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006804/0.7641, allocations: 3.233 MB / 0.7028 GB, free: 32.9 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003099/0.7645, allocations: 401.5 kB / 0.7032 GB, free: 32.89 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001844/0.7663, allocations: 0.5271 MB / 0.7037 GB, free: 32.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02057/0.7869, allocations: 8.966 MB / 0.7125 GB, free: 31.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003033/0.7872, allocations: 36.67 kB / 0.7125 GB, free: 31.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001367/0.7886, allocations: 237.5 kB / 0.7127 GB, free: 31.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005228/0.7892, allocations: 344.2 kB / 0.7131 GB, free: 31.85 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02038/0.8095, allocations: 6.758 MB / 0.7197 GB, free: 31.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03626/0.8458, allocations: 27.21 MB / 0.7462 GB, free: 19.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.8492, allocations: 3.112 MB / 0.7493 GB, free: 16.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002176/0.8514, allocations: 1.973 MB / 0.7512 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.8515, allocations: 25.81 kB / 0.7512 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.8516, allocations: 44.5 kB / 0.7513 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=179): time 4.489e-06/0.8516, allocations: 4 kB / 0.7513 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.02264/0.8742, allocations: 9.968 MB / 0.761 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.8743, allocations: 76.09 kB / 0.7611 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.8761, allocations: 1.529 MB / 0.7626 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.8763, allocations: 58.67 kB / 0.7626 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007804/0.8771, allocations: 2.207 MB / 0.7648 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004244/0.8775, allocations: 0.6259 MB / 0.7654 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005074/0.878, allocations: 412.2 kB / 0.7658 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.533e-05/0.8781, allocations: 301.1 kB / 0.7661 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.8793, allocations: 1.179 MB / 0.7672 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.881, allocations: 1.888 MB / 0.7691 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003327/0.8844, allocations: 3.385 MB / 0.7724 GB, free: 15.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.8844, allocations: 8 kB / 0.7724 GB, free: 15.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007609/0.892, allocations: 4.584 MB / 0.7768 GB, free: 10.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.8921, allocations: 12.62 kB / 0.7769 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/0.8921, allocations: 24 kB / 0.7769 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003764/0.8959, allocations: 1.517 MB / 0.7784 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.8971, allocations: 350.3 kB / 0.7787 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/0.919, allocations: 17.02 MB / 0.7953 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/0.9214, allocations: 116.3 kB / 0.7954 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002924/0.9217, allocations: 100 kB / 0.7955 GB, free: 7.176 MB / 0.5606 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003639/0.9254, allocations: 1.894 MB / 0.7974 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005416/0.9259, allocations: 225.3 kB / 0.7976 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007135/0.9331, allocations: 4.097 MB / 0.8016 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.112e-05/0.9332, allocations: 20 kB / 0.8016 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.342e-05/0.9332, allocations: 16 kB / 0.8016 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-05/0.9333, allocations: 7.969 kB / 0.8016 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01812/0.9514, allocations: 9.087 MB / 0.8105 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.9515, allocations: 4 kB / 0.8105 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007923/0.9523, allocations: 182.1 kB / 0.8107 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003531/0.9558, allocations: 1.365 MB / 0.812 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.956, allocations: 36 kB / 0.8121 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02007/0.9761, allocations: 15.93 MB / 0.8276 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.9761, allocations: 11.38 kB / 0.8276 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007109/0.9832, allocations: 4.069 MB / 0.8316 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/0.9851, allocations: 0.5333 MB / 0.8321 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004107/0.9856, allocations: 36 kB / 0.8321 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.9866, allocations: 89.95 kB / 0.8322 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007619/0.9874, allocations: 161.7 kB / 0.8324 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.9875, allocations: 50.44 kB / 0.8324 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001701/0.9892, allocations: 1.005 MB / 0.8334 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.11e-07/0.9892, allocations: 0 / 0.8334 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004224/0.9935, allocations: 0.9453 MB / 0.8343 GB, free: 14.9 MB / 0.6075 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003919/0.9939, allocations: 141 kB / 0.8345 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007486/1.001, allocations: 4.29 MB / 0.8387 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/1.001, allocations: 2.906 kB / 0.8387 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005347/1.007, allocations: 2.673 MB / 0.8413 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/1.011, allocations: 0.7159 MB / 0.842 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/1.028, allocations: 11.04 MB / 0.8528 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004163/1.032, allocations: 3.563 MB / 0.8562 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00168/1.034, allocations: 471.9 kB / 0.8567 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/1.034, allocations: 119.4 kB / 0.8568 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of SimCode: time 8.92e-07/1.034, allocations: 0 / 0.8568 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of Templates: time 0.07364/1.108, allocations: 42.33 MB / 0.8981 GB, free: 14.09 MB / 0.67 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)