Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.189/0.1897, allocations: 82.22 MB / 0.5935 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01209/0.2018, allocations: 8.967 MB / 0.6022 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00622/0.2081, allocations: 3.188 MB / 0.6054 GB, free: 9.746 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.2092, allocations: 27.81 kB / 0.6054 GB, free: 9.719 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007935/0.21, allocations: 174.7 kB / 0.6055 GB, free: 9.547 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.2122, allocations: 0.6651 MB / 0.6062 GB, free: 8.879 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.2137, allocations: 0.5214 MB / 0.6067 GB, free: 8.359 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004206/0.218, allocations: 3.475 MB / 0.6101 GB, free: 4.879 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004241/0.2222, allocations: 2.711 MB / 0.6127 GB, free: 2.125 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002207/0.2244, allocations: 0.9653 MB / 0.6137 GB, free: 1.156 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002374/0.2268, allocations: 1.449 MB / 0.6151 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002556/0.2271, allocations: 116 kB / 0.6152 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007178/0.2278, allocations: 259.7 kB / 0.6155 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000937/0.2288, allocations: 0.912 MB / 0.6163 GB, free: 14.42 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004237/0.2292, allocations: 376.8 kB / 0.6167 GB, free: 14.05 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.2319, allocations: 2.984 MB / 0.6196 GB, free: 11.05 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2319, allocations: 0 / 0.6196 GB, free: 11.05 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2319, allocations: 0 / 0.6196 GB, free: 11.05 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.581e-05/0.2319, allocations: 0 / 0.6196 GB, free: 11.05 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.003224/0.2352, allocations: 1.775 MB / 0.6214 GB, free: 9.223 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.2352, allocations: 12.02 kB / 0.6214 GB, free: 9.211 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007848/0.2431, allocations: 1.308 MB / 0.6226 GB, free: 7.898 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.2454, allocations: 1.219 MB / 0.6238 GB, free: 6.637 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.244e-05/0.2455, allocations: 111 kB / 0.6239 GB, free: 6.527 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002993/0.2458, allocations: 144 kB / 0.6241 GB, free: 6.387 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005355/0.2511, allocations: 3.413 MB / 0.6274 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.2512, allocations: 0 / 0.6274 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002067/0.2514, allocations: 67.97 kB / 0.6275 GB, free: 2.809 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002662/0.2517, allocations: 207 kB / 0.6277 GB, free: 2.605 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005385/0.2571, allocations: 3.112 MB / 0.6307 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01918/0.2763, allocations: 12.01 MB / 0.6424 GB, free: 3.105 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/0.2791, allocations: 1.904 MB / 0.6443 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.2812, allocations: 1.561 MB / 0.6458 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.2814, allocations: 9 kB / 0.6458 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.2814, allocations: 47.56 kB / 0.6459 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=104): time 3.347e-06/0.2814, allocations: 0 / 0.6459 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=183): time 0.1314/0.4128, allocations: 39.43 MB / 0.6844 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.413, allocations: 81.34 kB / 0.6845 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.415, allocations: 1.116 MB / 0.6856 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004089/0.4154, allocations: 61.64 kB / 0.6856 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005935/0.416, allocations: 0.7796 MB / 0.6864 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007799/0.4168, allocations: 0.6238 MB / 0.687 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.417, allocations: 36 kB / 0.687 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000274/0.4172, allocations: 389.9 kB / 0.6874 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003171/0.4204, allocations: 2.143 MB / 0.6895 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003401/0.4238, allocations: 2.507 MB / 0.6919 GB, free: 84 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3726/0.7965, allocations: 2.467 MB / 0.6943 GB, free: 91.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.7965, allocations: 2.906 kB / 0.6943 GB, free: 91.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01991/0.8165, allocations: 9.921 MB / 0.704 GB, free: 91.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.8165, allocations: 8.406 kB / 0.704 GB, free: 91.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.8166, allocations: 12.34 kB / 0.7041 GB, free: 91.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01649/0.8331, allocations: 5.548 MB / 0.7095 GB, free: 90.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.8342, allocations: 207.4 kB / 0.7097 GB, free: 90.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04823/0.8825, allocations: 38.34 MB / 0.7471 GB, free: 59.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.8845, allocations: 168.8 kB / 0.7473 GB, free: 59.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002486/0.8848, allocations: 68 kB / 0.7473 GB, free: 59.67 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(13,80.5%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001271/0.8861, allocations: 0.8205 MB / 0.7481 GB, free: 58.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/0.8863, allocations: 146.3 kB / 0.7483 GB, free: 58.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01712/0.9035, allocations: 9.748 MB / 0.7578 GB, free: 48.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.9035, allocations: 16 kB / 0.7578 GB, free: 48.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-05/0.9036, allocations: 29.59 kB / 0.7578 GB, free: 48.87 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.565e-05/0.9037, allocations: 11.95 kB / 0.7578 GB, free: 48.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0229/0.9266, allocations: 14.54 MB / 0.772 GB, free: 34.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.707e-05/0.9266, allocations: 8.031 kB / 0.772 GB, free: 34.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/0.9271, allocations: 123.8 kB / 0.7722 GB, free: 34.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01439/0.9415, allocations: 5.222 MB / 0.7773 GB, free: 28.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003245/0.9419, allocations: 33 kB / 0.7773 GB, free: 28.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05211/0.994, allocations: 34.67 MB / 0.8112 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/0.9941, allocations: 11.92 kB / 0.8112 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02015/1.014, allocations: 9.195 MB / 0.8201 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.016, allocations: 0.6926 MB / 0.8208 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003658/1.016, allocations: 31.95 kB / 0.8209 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/1.017, allocations: 147.8 kB / 0.821 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009331/1.018, allocations: 161.7 kB / 0.8211 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/1.019, allocations: 44 kB / 0.8212 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001207/1.02, allocations: 0.785 MB / 0.822 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.02, allocations: 0 / 0.822 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003509/1.023, allocations: 1.019 MB / 0.823 GB, free: 13.45 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,79.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003398/1.024, allocations: 148.7 kB / 0.8231 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01202/1.036, allocations: 6.639 MB / 0.8296 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.036, allocations: 0 / 0.8296 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.008497/1.044, allocations: 4.137 MB / 0.8336 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/1.046, allocations: 225.6 kB / 0.8338 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008997/1.055, allocations: 6.165 MB / 0.8399 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001828/1.057, allocations: 1.871 MB / 0.8417 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009675/1.058, allocations: 390.6 kB / 0.8421 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/1.058, allocations: 59.42 kB / 0.8421 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/1.058, allocations: 0 / 0.8421 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of Templates: time 0.08257/1.141, allocations: 57.36 MB / 0.8981 GB, free: 468 kB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) Environment - environmentSimulation: