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.2193/0.2229, allocations: 80.83 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02804/0.251, allocations: 23.09 MB / 0.6932 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.2655, allocations: 6.956 MB / 0.7 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002871/0.2685, allocations: 99.5 kB / 0.7001 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00429/0.2728, allocations: 1.48 MB / 0.7015 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006345/0.2791, allocations: 1.945 MB / 0.7034 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004193/0.2834, allocations: 1.449 MB / 0.7048 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009309/0.2927, allocations: 6.78 MB / 0.7115 GB, free: 8.078 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009459/0.3022, allocations: 6.941 MB / 0.7182 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005844/0.308, allocations: 2.839 MB / 0.721 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006712/0.3148, allocations: 3.517 MB / 0.7245 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001519/0.3163, allocations: 0.5234 MB / 0.725 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003841/0.3202, allocations: 1.17 MB / 0.7261 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003363/0.3236, allocations: 2.421 MB / 0.7285 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004076/0.3276, allocations: 2.478 MB / 0.7309 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.3386, allocations: 8.413 MB / 0.7391 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3386, allocations: 0 / 0.7391 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3386, allocations: 0 / 0.7391 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002721/0.3389, allocations: 0 / 0.7391 GB, free: 11.62 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: 1044 * Number of variables: 1044 Notification: Performance of Generate backend data structure: time 0.01134/0.3502, allocations: 4.4 MB / 0.7434 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.3503, allocations: 8.031 kB / 0.7434 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008509/0.3588, allocations: 1.665 MB / 0.745 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007629/0.3665, allocations: 2.688 MB / 0.7477 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002968/0.3668, allocations: 271.6 kB / 0.7479 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001433/0.3683, allocations: 360.3 kB / 0.7483 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4822/0.8505, allocations: 7.456 MB / 0.7555 GB, free: 67 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000195/0.8507, allocations: 15.02 kB / 0.7556 GB, free: 67 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009786/0.8517, allocations: 153.6 kB / 0.7557 GB, free: 66.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001378/0.8531, allocations: 487.8 kB / 0.7562 GB, free: 66.83 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01912/0.8722, allocations: 5.68 MB / 0.7617 GB, free: 64.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04141/0.9137, allocations: 25 MB / 0.7861 GB, free: 47.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003643/0.9174, allocations: 2.3 MB / 0.7884 GB, free: 46.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003615/0.921, allocations: 2.356 MB / 0.7907 GB, free: 45.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/0.9213, allocations: 14.94 kB / 0.7907 GB, free: 45.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.9213, allocations: 49.03 kB / 0.7907 GB, free: 44.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=146): time 5.05e-06/0.9214, allocations: 0 / 0.7907 GB, free: 44.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=251): time 0.2931/1.214, allocations: 74.71 MB / 0.8637 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/1.215, allocations: 77.41 kB / 0.8638 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003993/1.219, allocations: 1.674 MB / 0.8654 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0007556/1.219, allocations: 65.7 kB / 0.8655 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001615/1.221, allocations: 1.735 MB / 0.8672 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00168/1.223, allocations: 0.8512 MB / 0.868 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001828/1.225, allocations: 497.2 kB / 0.8685 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.225, allocations: 309.1 kB / 0.8688 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004686/1.229, allocations: 2.903 MB / 0.8716 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005644/1.235, allocations: 3.511 MB / 0.875 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01077/1.246, allocations: 6.795 MB / 0.8817 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.004e-05/1.246, allocations: 8 kB / 0.8817 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03666/1.283, allocations: 14.67 MB / 0.896 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.932e-05/1.283, allocations: 16.91 kB / 0.896 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.517e-05/1.283, allocations: 20 kB / 0.896 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03167/1.315, allocations: 8.906 MB / 0.9047 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/1.316, allocations: 307.4 kB / 0.905 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09192/1.408, allocations: 55.49 MB / 0.9592 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003259/1.411, allocations: 183.8 kB / 0.9594 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006946/1.412, allocations: 96 kB / 0.9595 GB, free: 3.215 MB / 0.7012 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 (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 {(19,19,60.4%), (19,19,58.4%), (12,18,50.0%), (12,18,50.0%), (12,10,53.5%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004458/1.416, allocations: 1.613 MB / 0.9611 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/1.418, allocations: 239.8 kB / 0.9613 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03559/1.453, allocations: 14.81 MB / 0.9757 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.708e-05/1.453, allocations: 24 kB / 0.9758 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001991/1.453, allocations: 44 kB / 0.9758 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.799e-05/1.454, allocations: 11.95 kB / 0.9758 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05039/1.504, allocations: 21.03 MB / 0.9964 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.331e-05/1.504, allocations: 4 kB / 0.9964 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008532/1.505, allocations: 171.7 kB / 0.9965 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0306/1.535, allocations: 8.683 MB / 1.005 GB, free: 4.336 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006485/1.536, allocations: 48 kB / 1.005 GB, free: 4.289 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4915/2.028, allocations: 54.62 MB / 1.058 GB, free: 267 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/2.028, allocations: 11.31 kB / 1.058 GB, free: 267 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03421/2.062, allocations: 14.39 MB / 1.072 GB, free: 266.2 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00365/2.066, allocations: 0.9098 MB / 1.073 GB, free: 266.1 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005493/2.066, allocations: 51.12 kB / 1.073 GB, free: 266.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/2.068, allocations: 173.9 kB / 1.074 GB, free: 266.1 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001473/2.07, allocations: 241.3 kB / 1.074 GB, free: 266.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002376/2.07, allocations: 62.84 kB / 1.074 GB, free: 266.1 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001604/2.072, allocations: 1.139 MB / 1.075 GB, free: 265.8 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/2.072, allocations: 0 / 1.075 GB, free: 265.8 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005646/2.077, allocations: 1.607 MB / 1.077 GB, free: 265.7 MB / 0.795 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 (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 {(12,10,52.8%), (12,18,50.0%), (19,19,56.5%), (12,10,53.5%), (12,18,50.0%), (14,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003759/2.078, allocations: 165.2 kB / 1.077 GB, free: 265.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02222/2.1, allocations: 10.93 MB / 1.087 GB, free: 261.8 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/2.1, allocations: 0 / 1.087 GB, free: 261.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01518/2.115, allocations: 7.303 MB / 1.094 GB, free: 259.2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/2.119, allocations: 0.5619 MB / 1.095 GB, free: 259 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/2.134, allocations: 9.092 MB / 1.104 GB, free: 255.2 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003081/2.137, allocations: 3.246 MB / 1.107 GB, free: 253.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001571/2.138, allocations: 427.3 kB / 1.107 GB, free: 253.5 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/2.139, allocations: 99.44 kB / 1.108 GB, free: 253.4 MB / 0.795 GB Notification: Performance of SimCode: time 3.898e-06/2.139, allocations: 0 / 1.108 GB, free: 253.4 MB / 0.795 GB Notification: Performance of Templates: time 0.1723/2.311, allocations: 99.37 MB / 1.205 GB, free: 155.5 MB / 0.795 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (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)