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.2149/0.2175, allocations: 80.83 MB / 0.6706 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0136/0.2311, allocations: 9.98 MB / 0.6804 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007562/0.2387, allocations: 3.362 MB / 0.6837 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.2405, allocations: 35.81 kB / 0.6837 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002854/0.2434, allocations: 0.5907 MB / 0.6843 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003549/0.2471, allocations: 0.7778 MB / 0.685 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.2499, allocations: 0.7439 MB / 0.6858 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004658/0.2546, allocations: 2.949 MB / 0.6887 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004326/0.2589, allocations: 2.586 MB / 0.6912 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002679/0.2617, allocations: 1.246 MB / 0.6924 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002962/0.2646, allocations: 1.578 MB / 0.6939 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008819/0.2656, allocations: 232 kB / 0.6942 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.2673, allocations: 0.4994 MB / 0.6946 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001916/0.2692, allocations: 1.056 MB / 0.6957 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002533/0.2718, allocations: 1.093 MB / 0.6967 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004973/0.2768, allocations: 3.654 MB / 0.7003 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.2768, allocations: 7.984 kB / 0.7003 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2768, allocations: 7.938 kB / 0.7003 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001348/0.277, allocations: 0 / 0.7003 GB, free: 3.461 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.007002/0.284, allocations: 2.134 MB / 0.7024 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.2841, allocations: 8.031 kB / 0.7024 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009348/0.2934, allocations: 1.313 MB / 0.7037 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003554/0.297, allocations: 1.298 MB / 0.705 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.376e-05/0.2971, allocations: 111.3 kB / 0.7051 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005582/0.2977, allocations: 144.3 kB / 0.7052 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006204/0.3039, allocations: 3.425 MB / 0.7086 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.562e-05/0.304, allocations: 3.938 kB / 0.7086 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/0.3042, allocations: 67.97 kB / 0.7086 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003191/0.3045, allocations: 203.1 kB / 0.7088 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005692/0.3102, allocations: 3.123 MB / 0.7119 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01917/0.3294, allocations: 11.97 MB / 0.7236 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/0.3322, allocations: 1.899 MB / 0.7254 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002185/0.3345, allocations: 1.584 MB / 0.727 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.3346, allocations: 12.94 kB / 0.727 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.3346, allocations: 43.56 kB / 0.727 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=104): time 3.376e-06/0.3346, allocations: 0 / 0.727 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=183): time 0.6785/1.013, allocations: 40.25 MB / 0.7663 GB, free: 71.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/1.013, allocations: 71.16 kB / 0.7664 GB, free: 71.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/1.015, allocations: 1.124 MB / 0.7675 GB, free: 70.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004152/1.016, allocations: 55.23 kB / 0.7675 GB, free: 70.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/1.016, allocations: 0.7903 MB / 0.7683 GB, free: 69.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006489/1.017, allocations: 0.6244 MB / 0.7689 GB, free: 69.44 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/1.018, allocations: 373.7 kB / 0.7693 GB, free: 69.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.078e-05/1.018, allocations: 302.4 kB / 0.7696 GB, free: 68.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003275/1.021, allocations: 2.152 MB / 0.7717 GB, free: 67.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003693/1.025, allocations: 2.514 MB / 0.7741 GB, free: 66.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006747/1.032, allocations: 4.821 MB / 0.7788 GB, free: 63.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-05/1.032, allocations: 3.812 kB / 0.7788 GB, free: 63.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01987/1.051, allocations: 9.956 MB / 0.7886 GB, free: 56.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/1.052, allocations: 15.98 kB / 0.7886 GB, free: 56.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/1.052, allocations: 8 kB / 0.7886 GB, free: 56.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01669/1.068, allocations: 5.557 MB / 0.794 GB, free: 51.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/1.069, allocations: 203.6 kB / 0.7942 GB, free: 51.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05608/1.126, allocations: 42.37 MB / 0.8356 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/1.128, allocations: 167.8 kB / 0.8357 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/1.128, allocations: 67.98 kB / 0.8358 GB, free: 8.043 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.001633/1.13, allocations: 0.8307 MB / 0.8366 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003551/1.13, allocations: 139.9 kB / 0.8368 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01966/1.15, allocations: 9.78 MB / 0.8463 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/1.15, allocations: 19.94 kB / 0.8463 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.104e-05/1.15, allocations: 28 kB / 0.8463 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-05/1.15, allocations: 11.97 kB / 0.8464 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03048/1.181, allocations: 14.74 MB / 0.8608 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/1.181, allocations: 4 kB / 0.8608 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/1.181, allocations: 127.8 kB / 0.8609 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01834/1.2, allocations: 5.317 MB / 0.8661 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004131/1.2, allocations: 35.94 kB / 0.8661 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06038/1.261, allocations: 40.27 MB / 0.9054 GB, free: 44 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/1.261, allocations: 8 kB / 0.9054 GB, free: 36 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02243/1.283, allocations: 9.47 MB / 0.9147 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002647/1.286, allocations: 0.7023 MB / 0.9154 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005154/1.286, allocations: 36 kB / 0.9154 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/1.288, allocations: 151.8 kB / 0.9156 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001239/1.289, allocations: 165.6 kB / 0.9157 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/1.289, allocations: 45.97 kB / 0.9158 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001191/1.291, allocations: 0.789 MB / 0.9165 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/1.291, allocations: 0 / 0.9165 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004226/1.295, allocations: 1.016 MB / 0.9175 GB, free: 3.551 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.0003827/1.295, allocations: 151 kB / 0.9177 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01264/1.308, allocations: 6.765 MB / 0.9243 GB, free: 12.58 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/1.308, allocations: 3.938 kB / 0.9243 GB, free: 12.57 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.009239/1.317, allocations: 4.272 MB / 0.9284 GB, free: 8.266 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/1.319, allocations: 227.3 kB / 0.9287 GB, free: 8.047 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/1.33, allocations: 5.635 MB / 0.9342 GB, free: 2.383 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002066/1.332, allocations: 1.871 MB / 0.936 GB, free: 484 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009766/1.333, allocations: 383 kB / 0.9364 GB, free: 100 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/1.333, allocations: 59.44 kB / 0.9364 GB, free: 40 kB / 0.67 GB Notification: Performance of SimCode: time 9.11e-07/1.333, allocations: 0 / 0.9364 GB, free: 40 kB / 0.67 GB Notification: Performance of Templates: time 0.1007/1.434, allocations: 65.74 MB / 1.001 GB, free: 14.41 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)