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.2372/0.2409, allocations: 80.85 MB / 0.6707 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01298/0.2539, allocations: 9.972 MB / 0.6804 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00653/0.2605, allocations: 3.365 MB / 0.6837 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.2617, allocations: 31.88 kB / 0.6837 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.2638, allocations: 0.5972 MB / 0.6843 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002488/0.2663, allocations: 0.8168 MB / 0.6851 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.2682, allocations: 0.733 MB / 0.6858 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004101/0.2723, allocations: 2.953 MB / 0.6887 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003256/0.2756, allocations: 2.582 MB / 0.6912 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.2781, allocations: 1.258 MB / 0.6924 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002959/0.2811, allocations: 1.574 MB / 0.694 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004802/0.2816, allocations: 232 kB / 0.6942 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.2831, allocations: 0.4994 MB / 0.6947 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001286/0.2844, allocations: 1.056 MB / 0.6957 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001945/0.2863, allocations: 1.101 MB / 0.6968 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004183/0.2905, allocations: 3.65 MB / 0.7004 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.2906, allocations: 0 / 0.7004 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.265e-06/0.2906, allocations: 0 / 0.7004 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.601e-05/0.2906, allocations: 4 kB / 0.7004 GB, free: 3.438 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: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.004897/0.2955, allocations: 2.134 MB / 0.7024 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.2956, allocations: 8.031 kB / 0.7025 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009281/0.3049, allocations: 1.317 MB / 0.7037 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003188/0.3081, allocations: 1.294 MB / 0.705 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.835e-05/0.3082, allocations: 119.3 kB / 0.7051 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004599/0.3087, allocations: 144.3 kB / 0.7053 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006023/0.3147, allocations: 3.421 MB / 0.7086 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/0.3148, allocations: 7.984 kB / 0.7086 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/0.315, allocations: 63.97 kB / 0.7087 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000264/0.3153, allocations: 203.1 kB / 0.7089 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005233/0.3206, allocations: 3.12 MB / 0.7119 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01882/0.3394, allocations: 11.98 MB / 0.7236 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002843/0.3423, allocations: 1.903 MB / 0.7255 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/0.3444, allocations: 1.576 MB / 0.727 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-05/0.3445, allocations: 13 kB / 0.727 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.3446, allocations: 51.5 kB / 0.7271 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=104): time 3.967e-06/0.3446, allocations: 4 kB / 0.7271 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=183): time 0.6952/1.04, allocations: 40.26 MB / 0.7664 GB, free: 71.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/1.04, allocations: 70.44 kB / 0.7664 GB, free: 71.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/1.042, allocations: 1.123 MB / 0.7675 GB, free: 70.72 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004499/1.043, allocations: 55.2 kB / 0.7676 GB, free: 70.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004588/1.043, allocations: 0.7873 MB / 0.7684 GB, free: 69.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006121/1.044, allocations: 0.6248 MB / 0.769 GB, free: 69.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008296/1.045, allocations: 369.7 kB / 0.7693 GB, free: 69.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.144e-05/1.045, allocations: 305.1 kB / 0.7696 GB, free: 68.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00323/1.048, allocations: 2.153 MB / 0.7717 GB, free: 67.85 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003306/1.051, allocations: 2.513 MB / 0.7742 GB, free: 66.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006145/1.057, allocations: 4.826 MB / 0.7789 GB, free: 63.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/1.057, allocations: 2.719 kB / 0.7789 GB, free: 63.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01963/1.077, allocations: 9.955 MB / 0.7886 GB, free: 56.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/1.077, allocations: 8 kB / 0.7886 GB, free: 56.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/1.077, allocations: 8.656 kB / 0.7886 GB, free: 56.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01652/1.094, allocations: 5.558 MB / 0.7941 GB, free: 51.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009394/1.095, allocations: 206.6 kB / 0.7943 GB, free: 51.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05091/1.145, allocations: 42.36 MB / 0.8356 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002886/1.148, allocations: 167.8 kB / 0.8358 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/1.149, allocations: 75.98 kB / 0.8359 GB, free: 7.992 MB / 0.5762 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 (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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (13,33,74.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001287/1.15, allocations: 0.8212 MB / 0.8367 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003092/1.15, allocations: 140.1 kB / 0.8368 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0194/1.17, allocations: 9.78 MB / 0.8463 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/1.17, allocations: 19.94 kB / 0.8464 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.531e-05/1.17, allocations: 32 kB / 0.8464 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.582e-05/1.17, allocations: 7.969 kB / 0.8464 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.028/1.198, allocations: 14.74 MB / 0.8608 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.293e-05/1.198, allocations: 7.984 kB / 0.8608 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/1.198, allocations: 123.8 kB / 0.8609 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01732/1.216, allocations: 5.313 MB / 0.8661 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003492/1.216, allocations: 39.94 kB / 0.8661 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0845/1.301, allocations: 40.28 MB / 0.9055 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.301, allocations: 4 kB / 0.9055 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03233/1.333, allocations: 9.47 MB / 0.9147 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/1.335, allocations: 0.7062 MB / 0.9154 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006512/1.336, allocations: 39.98 kB / 0.9155 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/1.337, allocations: 147.8 kB / 0.9156 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/1.339, allocations: 161.6 kB / 0.9158 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003234/1.339, allocations: 51.98 kB / 0.9158 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001617/1.34, allocations: 0.7812 MB / 0.9166 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/1.341, allocations: 5.781 kB / 0.9166 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004603/1.345, allocations: 1.02 MB / 0.9176 GB, free: 3.5 MB / 0.6544 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 (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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,79.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004647/1.346, allocations: 143 kB / 0.9177 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01404/1.36, allocations: 6.761 MB / 0.9243 GB, free: 12.53 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.609e-05/1.36, allocations: 7.938 kB / 0.9243 GB, free: 12.52 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.009937/1.37, allocations: 4.264 MB / 0.9285 GB, free: 8.227 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/1.372, allocations: 240 kB / 0.9287 GB, free: 8.004 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/1.383, allocations: 5.629 MB / 0.9342 GB, free: 2.336 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002703/1.386, allocations: 1.874 MB / 0.936 GB, free: 432 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001049/1.387, allocations: 378.7 kB / 0.9364 GB, free: 56 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/1.387, allocations: 63.47 kB / 0.9365 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of SimCode: time 1.152e-06/1.387, allocations: 0 / 0.9365 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of Templates: time 0.09838/1.486, allocations: 64.39 MB / 0.9993 GB, free: 15.7 MB / 0.7481 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (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)