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_RL_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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.1867/0.1874, allocations: 82.22 MB / 0.5934 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02058/0.208, allocations: 20.2 MB / 0.6131 GB, free: 1.727 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.2189, allocations: 6.621 MB / 0.6196 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/0.221, allocations: 75.5 kB / 0.6196 GB, free: 11.01 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.2222, allocations: 465.1 kB / 0.6201 GB, free: 10.55 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003791/0.226, allocations: 1.274 MB / 0.6213 GB, free: 9.277 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.2288, allocations: 0.9188 MB / 0.6222 GB, free: 8.363 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004912/0.2337, allocations: 3.142 MB / 0.6253 GB, free: 5.215 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0105/0.2442, allocations: 7.07 MB / 0.6322 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.2474, allocations: 1.721 MB / 0.6339 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003148/0.2506, allocations: 2.084 MB / 0.6359 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004989/0.2511, allocations: 244 kB / 0.6361 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.2523, allocations: 495.5 kB / 0.6366 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001776/0.2541, allocations: 1.887 MB / 0.6385 GB, free: 7.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009925/0.2551, allocations: 0.8198 MB / 0.6393 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007017/0.2621, allocations: 6.841 MB / 0.6459 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2622, allocations: 0 / 0.6459 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2622, allocations: 0 / 0.6459 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002426/0.2624, allocations: 0 / 0.6459 GB, free: 15.97 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1044 * Number of variables: 1044 Notification: Performance of Generate backend data structure: time 0.008753/0.2712, allocations: 3.562 MB / 0.6494 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.2712, allocations: 8.031 kB / 0.6494 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008678/0.2799, allocations: 1.77 MB / 0.6512 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005991/0.2859, allocations: 2.501 MB / 0.6536 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.2862, allocations: 271.2 kB / 0.6539 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000928/0.2871, allocations: 371.8 kB / 0.6542 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/0.2994, allocations: 7.395 MB / 0.6614 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.474e-05/0.2996, allocations: 15.94 kB / 0.6615 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00043/0.3, allocations: 155.9 kB / 0.6616 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005606/0.3006, allocations: 487.2 kB / 0.6621 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009795/0.3104, allocations: 5.662 MB / 0.6676 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3714/0.6818, allocations: 25.13 MB / 0.6921 GB, free: 82.67 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/0.685, allocations: 2.298 MB / 0.6944 GB, free: 82.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.6852, allocations: 17.02 kB / 0.6944 GB, free: 82.64 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.6852, allocations: 45.62 kB / 0.6944 GB, free: 82.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 3.115e-06/0.6852, allocations: 0 / 0.6944 GB, free: 82.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.2789/0.9641, allocations: 72.88 MB / 0.7656 GB, free: 35.65 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.9642, allocations: 77.41 kB / 0.7657 GB, free: 35.56 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002645/0.9668, allocations: 1.654 MB / 0.7673 GB, free: 33.86 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005463/0.9674, allocations: 65.7 kB / 0.7674 GB, free: 33.79 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008935/0.9683, allocations: 1.73 MB / 0.7691 GB, free: 32.05 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001091/0.9694, allocations: 0.8654 MB / 0.7699 GB, free: 31.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003757/0.9698, allocations: 55.06 kB / 0.7699 GB, free: 31.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.97, allocations: 415.2 kB / 0.7703 GB, free: 30.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003407/0.9734, allocations: 2.89 MB / 0.7732 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003572/0.977, allocations: 3.488 MB / 0.7766 GB, free: 24.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003674/0.9807, allocations: 3.285 MB / 0.7798 GB, free: 20.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/0.9807, allocations: 4 kB / 0.7798 GB, free: 20.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02875/1.009, allocations: 14.62 MB / 0.7941 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/1.01, allocations: 12.94 kB / 0.7941 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.231e-05/1.01, allocations: 16 kB / 0.7941 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02762/1.037, allocations: 8.881 MB / 0.8028 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/1.039, allocations: 303.5 kB / 0.803 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08273/1.121, allocations: 52.24 MB / 0.8541 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003988/1.125, allocations: 194.2 kB / 0.8543 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/1.127, allocations: 96.88 kB / 0.8543 GB, free: 7.59 MB / 0.5919 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 (157): * Single equations (assignments): 151 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(14,95.9%) 24,(19,59.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,52.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004303/1.131, allocations: 1.613 MB / 0.8559 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009046/1.132, allocations: 241.1 kB / 0.8561 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0332/1.165, allocations: 14.76 MB / 0.8706 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-05/1.165, allocations: 24 kB / 0.8706 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001316/1.165, allocations: 44 kB / 0.8706 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.872e-05/1.165, allocations: 11.95 kB / 0.8706 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04398/1.209, allocations: 20.98 MB / 0.8911 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.007e-05/1.209, allocations: 13.33 kB / 0.8911 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008454/1.21, allocations: 159.8 kB / 0.8913 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02882/1.239, allocations: 8.691 MB / 0.8998 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007276/1.24, allocations: 50.06 kB / 0.8998 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08184/1.322, allocations: 51.86 MB / 0.9505 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.218e-06/1.322, allocations: 8 kB / 0.9505 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4077/1.729, allocations: 14.79 MB / 0.9649 GB, free: 223.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002724/1.732, allocations: 0.9112 MB / 0.9658 GB, free: 223.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006775/1.733, allocations: 52.39 kB / 0.9659 GB, free: 223.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/1.735, allocations: 173.7 kB / 0.966 GB, free: 223.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001336/1.736, allocations: 239.5 kB / 0.9663 GB, free: 223.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002299/1.737, allocations: 66.05 kB / 0.9663 GB, free: 223.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001747/1.738, allocations: 1.122 MB / 0.9674 GB, free: 223.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/1.738, allocations: 0 / 0.9674 GB, free: 223.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.006401/1.745, allocations: 1.601 MB / 0.969 GB, free: 223.3 MB / 0.6856 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 (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,52.8%) 10,(12,50.0%) 18,(19,56.5%) 19,(12,53.5%) 10,(12,50.0%) 18,(14,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005463/1.745, allocations: 160.3 kB / 0.9691 GB, free: 223.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0214/1.767, allocations: 10.54 MB / 0.9794 GB, free: 222.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.767, allocations: 4.25 kB / 0.9794 GB, free: 222.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01582/1.783, allocations: 7.162 MB / 0.9864 GB, free: 220.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/1.786, allocations: 496.7 kB / 0.9869 GB, free: 220.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/1.8, allocations: 10.63 MB / 0.9973 GB, free: 215 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003002/1.803, allocations: 3.326 MB / 1.001 GB, free: 213.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001207/1.804, allocations: 413.4 kB / 1.001 GB, free: 213.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/1.804, allocations: 96.25 kB / 1.001 GB, free: 213.7 MB / 0.6856 GB Notification: Performance of SimCode: time 7.91e-07/1.804, allocations: 0 / 1.001 GB, free: 213.7 MB / 0.6856 GB Notification: Performance of Templates: time 0.1082/1.913, allocations: 88.14 MB / 1.087 GB, free: 130.2 MB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) Environment - environmentSimulation: