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.1808/0.1829, allocations: 80.85 MB / 0.6707 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.512/0.695, allocations: 32.61 MB / 0.7025 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02837/0.7234, allocations: 15.22 MB / 0.7174 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006439/0.7299, allocations: 156.2 kB / 0.7175 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01164/0.7416, allocations: 3.644 MB / 0.7211 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01412/0.7558, allocations: 2.93 MB / 0.7239 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009452/0.7653, allocations: 2.303 MB / 0.7262 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0182/0.7835, allocations: 8.564 MB / 0.7345 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01901/0.8026, allocations: 9.536 MB / 0.7438 GB, free: 5.484 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/0.8136, allocations: 3.886 MB / 0.7476 GB, free: 3.316 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009903/0.8235, allocations: 4.035 MB / 0.7516 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00343/0.827, allocations: 0.7043 MB / 0.7523 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007135/0.8342, allocations: 1.703 MB / 0.7539 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00635/0.8406, allocations: 2.748 MB / 0.7566 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.009596/0.8502, allocations: 3.283 MB / 0.7598 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01894/0.8692, allocations: 10.99 MB / 0.7706 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.8692, allocations: 0 / 0.7706 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.026e-06/0.8692, allocations: 4 kB / 0.7706 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0006062/0.8698, allocations: 0 / 0.7706 GB, free: 14.54 MB / 0.5762 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.02448/0.8943, allocations: 5.889 MB / 0.7763 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.375e-05/0.8944, allocations: 12.03 kB / 0.7763 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009075/0.9035, allocations: 1.114 MB / 0.7774 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.9136, allocations: 3.496 MB / 0.7808 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003639/0.914, allocations: 366.1 kB / 0.7812 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001952/0.916, allocations: 492.2 kB / 0.7816 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/0.9332, allocations: 7.915 MB / 0.7894 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001927/0.9334, allocations: 27.78 kB / 0.7894 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007543/0.9342, allocations: 208 kB / 0.7896 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001144/0.9353, allocations: 445.3 kB / 0.79 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01471/0.9501, allocations: 6.025 MB / 0.7959 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04423/0.9943, allocations: 24.53 MB / 0.8199 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/0.9972, allocations: 2.026 MB / 0.8218 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002421/0.9996, allocations: 1.873 MB / 0.8237 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.691e-05/0.9997, allocations: 21.98 kB / 0.8237 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.9998, allocations: 56.56 kB / 0.8237 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=171): time 3.597e-06/0.9998, allocations: 4 kB / 0.8237 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of matching and sorting (n=276): time 0.1524/1.152, allocations: 38.9 MB / 0.8617 GB, free: 15.89 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/1.152, allocations: 81.58 kB / 0.8618 GB, free: 15.79 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003264/1.156, allocations: 2.282 MB / 0.864 GB, free: 13.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004724/1.156, allocations: 69.7 kB / 0.8641 GB, free: 13.42 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001545/1.158, allocations: 2.238 MB / 0.8663 GB, free: 11.16 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001064/1.159, allocations: 0.9357 MB / 0.8672 GB, free: 10.21 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009293/1.16, allocations: 0.5023 MB / 0.8677 GB, free: 9.695 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.16, allocations: 309.1 kB / 0.868 GB, free: 9.391 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003194/1.163, allocations: 1.977 MB / 0.8699 GB, free: 7.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003756/1.167, allocations: 2.602 MB / 0.8725 GB, free: 4.566 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007793/1.175, allocations: 4.945 MB / 0.8773 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/1.175, allocations: 4 kB / 0.8773 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01634/1.191, allocations: 7.769 MB / 0.8849 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/1.191, allocations: 12 kB / 0.8849 GB, free: 7.492 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/1.191, allocations: 19.94 kB / 0.8849 GB, free: 7.473 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009703/1.201, allocations: 3.214 MB / 0.8881 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/1.203, allocations: 395.4 kB / 0.8884 GB, free: 3.855 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04831/1.251, allocations: 33.89 MB / 0.9215 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003717/1.255, allocations: 163.9 kB / 0.9217 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003259/1.255, allocations: 107.9 kB / 0.9218 GB, free: 0.8477 MB / 0.7169 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.003847/1.259, allocations: 1.798 MB / 0.9235 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009038/1.26, allocations: 324.2 kB / 0.9239 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/1.275, allocations: 7.368 MB / 0.9311 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.09e-05/1.275, allocations: 27.94 kB / 0.9311 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.322e-05/1.275, allocations: 36 kB / 0.9311 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-05/1.275, allocations: 19.94 kB / 0.9311 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02632/1.301, allocations: 12.94 MB / 0.9438 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-05/1.301, allocations: 8.844 kB / 0.9438 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/1.302, allocations: 243.5 kB / 0.944 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008357/1.311, allocations: 2.849 MB / 0.9468 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004382/1.311, allocations: 48.38 kB / 0.9468 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04501/1.356, allocations: 32.69 MB / 0.9788 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/1.356, allocations: 12.12 kB / 0.9788 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4094/1.766, allocations: 6.889 MB / 0.9855 GB, free: 242.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002742/1.769, allocations: 0.79 MB / 0.9863 GB, free: 242.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007981/1.769, allocations: 56.45 kB / 0.9863 GB, free: 242.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/1.771, allocations: 167.9 kB / 0.9865 GB, free: 242.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009337/1.772, allocations: 250.5 kB / 0.9867 GB, free: 242.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/1.773, allocations: 80.19 kB / 0.9868 GB, free: 242.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00204/1.775, allocations: 1.521 MB / 0.9883 GB, free: 242 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/1.775, allocations: 0 / 0.9883 GB, free: 242 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004167/1.779, allocations: 1.339 MB / 0.9896 GB, free: 242 MB / 0.7794 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.0003669/1.779, allocations: 178.6 kB / 0.9898 GB, free: 241.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01278/1.792, allocations: 6.936 MB / 0.9965 GB, free: 241 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.289e-05/1.792, allocations: 1.938 kB / 0.9965 GB, free: 241 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.009655/1.802, allocations: 4.421 MB / 1.001 GB, free: 240.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006502/1.808, allocations: 1.143 MB / 1.002 GB, free: 240 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/1.83, allocations: 10.14 MB / 1.012 GB, free: 236.9 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006296/1.836, allocations: 3.636 MB / 1.015 GB, free: 235.6 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002851/1.839, allocations: 0.5668 MB / 1.016 GB, free: 235.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005384/1.84, allocations: 163.7 kB / 1.016 GB, free: 235.5 MB / 0.7794 GB Notification: Performance of SimCode: time 1.212e-06/1.84, allocations: 1.062 kB / 1.016 GB, free: 235.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.1035/1.943, allocations: 76.44 MB / 1.091 GB, free: 180.9 MB / 0.7794 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (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)