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_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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.198/0.1987, allocations: 82.21 MB / 0.5941 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03697/0.2357, allocations: 31.5 MB / 0.6249 GB, free: 5.957 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03396/0.2697, allocations: 15.03 MB / 0.6396 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006304/0.2761, allocations: 139.2 kB / 0.6397 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004277/0.2804, allocations: 0.7171 MB / 0.6404 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01564/0.2961, allocations: 2.721 MB / 0.6431 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01063/0.3068, allocations: 1.976 MB / 0.645 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02401/0.3308, allocations: 11.96 MB / 0.6567 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03101/0.3619, allocations: 11.5 MB / 0.6679 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009754/0.3717, allocations: 2.907 MB / 0.6707 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01084/0.3826, allocations: 3.503 MB / 0.6742 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002331/0.385, allocations: 292 kB / 0.6744 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006669/0.3917, allocations: 1.552 MB / 0.676 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.005867/0.3976, allocations: 2.217 MB / 0.6781 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.008404/0.4061, allocations: 2.679 MB / 0.6807 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0204/0.4265, allocations: 10.46 MB / 0.691 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.4266, allocations: 0 / 0.691 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.877e-06/0.4266, allocations: 0 / 0.691 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004609/0.4271, allocations: 0 / 0.691 GB, free: 2.027 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: 1309 * Number of variables: 1309 Notification: Performance of Generate backend data structure: time 0.436/0.8631, allocations: 4.765 MB / 0.6956 GB, free: 89.24 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.8632, allocations: 9.312 kB / 0.6956 GB, free: 89.24 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008185/0.8714, allocations: 1.118 MB / 0.6967 GB, free: 88.94 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007399/0.8788, allocations: 3.3 MB / 0.6999 GB, free: 88.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000319/0.8792, allocations: 369.2 kB / 0.7003 GB, free: 88.06 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/0.8808, allocations: 486.2 kB / 0.7007 GB, free: 88.05 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/0.9006, allocations: 7.924 MB / 0.7085 GB, free: 85.8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000207/0.9008, allocations: 21.58 kB / 0.7085 GB, free: 85.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006354/0.9015, allocations: 218 kB / 0.7087 GB, free: 85.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001251/0.9027, allocations: 439.3 kB / 0.7091 GB, free: 85.6 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01549/0.9182, allocations: 6.027 MB / 0.715 GB, free: 82.64 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03463/0.9529, allocations: 24.86 MB / 0.7393 GB, free: 62.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/0.9555, allocations: 2.028 MB / 0.7413 GB, free: 60.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002223/0.9577, allocations: 1.851 MB / 0.7431 GB, free: 59.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.9579, allocations: 23.42 kB / 0.7431 GB, free: 59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.17e-05/0.958, allocations: 60.56 kB / 0.7432 GB, free: 58.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 4.048e-06/0.958, allocations: 0 / 0.7432 GB, free: 58.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=276): time 0.1402/1.098, allocations: 38.99 MB / 0.7812 GB, free: 19.88 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/1.098, allocations: 85.52 kB / 0.7813 GB, free: 19.78 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003851/1.102, allocations: 2.282 MB / 0.7835 GB, free: 17.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004066/1.103, allocations: 73.7 kB / 0.7836 GB, free: 17.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001177/1.104, allocations: 2.237 MB / 0.7858 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009244/1.105, allocations: 0.9365 MB / 0.7867 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004854/1.105, allocations: 231.8 kB / 0.7869 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.789e-05/1.105, allocations: 301.1 kB / 0.7872 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002682/1.108, allocations: 1.985 MB / 0.7892 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003105/1.111, allocations: 2.599 MB / 0.7917 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006031/1.117, allocations: 4.945 MB / 0.7965 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/1.117, allocations: 4 kB / 0.7965 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01521/1.132, allocations: 7.769 MB / 0.8041 GB, free: 11.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/1.132, allocations: 19.98 kB / 0.8041 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/1.132, allocations: 19.98 kB / 0.8042 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009493/1.142, allocations: 3.202 MB / 0.8073 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/1.144, allocations: 400 kB / 0.8077 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04652/1.19, allocations: 31.21 MB / 0.8381 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00397/1.194, allocations: 167.9 kB / 0.8383 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000659/1.195, allocations: 115.9 kB / 0.8384 GB, free: 7.879 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004744/1.2, allocations: 1.786 MB / 0.8402 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/1.201, allocations: 336 kB / 0.8405 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01622/1.217, allocations: 7.365 MB / 0.8477 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.434e-05/1.217, allocations: 35.92 kB / 0.8477 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-05/1.217, allocations: 28 kB / 0.8477 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-05/1.217, allocations: 11.95 kB / 0.8477 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02808/1.245, allocations: 12.96 MB / 0.8604 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.661e-05/1.245, allocations: 8 kB / 0.8604 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/1.247, allocations: 233.3 kB / 0.8606 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009078/1.256, allocations: 2.849 MB / 0.8634 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004385/1.256, allocations: 48 kB / 0.8635 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04592/1.302, allocations: 30 MB / 0.8928 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/1.302, allocations: 8 kB / 0.8928 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/1.316, allocations: 6.901 MB / 0.8995 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002335/1.319, allocations: 0.7899 MB / 0.9003 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001171/1.32, allocations: 56.38 kB / 0.9003 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002631/1.322, allocations: 167.8 kB / 0.9005 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001101/1.324, allocations: 253.4 kB / 0.9007 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002717/1.324, allocations: 80 kB / 0.9008 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003479/1.327, allocations: 1.521 MB / 0.9023 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.9e-07/1.327, allocations: 0 / 0.9023 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006806/1.334, allocations: 1.34 MB / 0.9036 GB, free: 3.844 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007149/1.335, allocations: 179 kB / 0.9038 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01386/1.349, allocations: 6.911 MB / 0.9105 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/1.349, allocations: 4 kB / 0.9105 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.008629/1.358, allocations: 4.426 MB / 0.9148 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009299/1.367, allocations: 1.055 MB / 0.9159 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02692/1.394, allocations: 12.49 MB / 0.9281 GB, free: 10.55 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006624/1.4, allocations: 3.63 MB / 0.9316 GB, free: 6.887 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00273/1.403, allocations: 0.5712 MB / 0.9322 GB, free: 6.312 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000659/1.404, allocations: 163.4 kB / 0.9323 GB, free: 6.152 MB / 0.67 GB Notification: Performance of SimCode: time 1.172e-06/1.404, allocations: 0 / 0.9323 GB, free: 6.152 MB / 0.67 GB Notification: Performance of Templates: time 0.5209/1.925, allocations: 73.61 MB / 1.004 GB, free: 201.1 MB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) Environment - environmentSimulation: