Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 191.8 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 292.2 MB / 0.5485 GB, free: 13.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 68.11 kB / 0.671 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2881, allocations: 114.5 MB / 0.7829 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01359/0.3017, allocations: 10.07 MB / 0.7927 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007051/0.3088, allocations: 3.186 MB / 0.7958 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.3101, allocations: 31.81 kB / 0.7958 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.3123, allocations: 0.5523 MB / 0.7964 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.3147, allocations: 0.6926 MB / 0.7971 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.3167, allocations: 0.6823 MB / 0.7977 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003894/0.3206, allocations: 3.004 MB / 0.8006 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004767/0.3253, allocations: 3.075 MB / 0.8037 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.3276, allocations: 1.266 MB / 0.8049 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002813/0.3305, allocations: 1.652 MB / 0.8065 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007323/0.3312, allocations: 236 kB / 0.8067 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.3328, allocations: 0.4994 MB / 0.8072 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001835/0.3347, allocations: 1.076 MB / 0.8083 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002155/0.3369, allocations: 1.113 MB / 0.8094 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004806/0.3417, allocations: 3.685 MB / 0.8129 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/0.3417, allocations: 0 / 0.8129 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3417, allocations: 3.938 kB / 0.813 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001311/0.3419, allocations: 4 kB / 0.813 GB, free: 14.91 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004661/0.3466, allocations: 2.138 MB / 0.815 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.3466, allocations: 12.03 kB / 0.8151 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008302/0.3549, allocations: 1.309 MB / 0.8163 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/0.3578, allocations: 1.255 MB / 0.8176 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.091e-05/0.3579, allocations: 111.4 kB / 0.8177 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003634/0.3583, allocations: 156.3 kB / 0.8178 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005594/0.3639, allocations: 3.43 MB / 0.8212 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/0.364, allocations: 11.94 kB / 0.8212 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/0.3642, allocations: 71.95 kB / 0.8212 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002518/0.3645, allocations: 203.1 kB / 0.8214 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005124/0.3696, allocations: 3.124 MB / 0.8245 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01857/0.3882, allocations: 13.64 MB / 0.8378 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/0.3907, allocations: 1.72 MB / 0.8395 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/0.3925, allocations: 1.437 MB / 0.8409 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.534e-05/0.3926, allocations: 16.98 kB / 0.8409 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3927, allocations: 43.56 kB / 0.8409 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 2.485e-06/0.3927, allocations: 0 / 0.8409 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of matching and sorting (n=183): time 0.13/0.5227, allocations: 36.67 MB / 0.8768 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.5228, allocations: 73.41 kB / 0.8768 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.5244, allocations: 1.05 MB / 0.8779 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003463/0.5247, allocations: 57.7 kB / 0.8779 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005442/0.5253, allocations: 0.7835 MB / 0.8787 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005978/0.5259, allocations: 0.6277 MB / 0.8793 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007379/0.5266, allocations: 363.3 kB / 0.8796 GB, free: 9.297 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.5268, allocations: 309.1 kB / 0.8799 GB, free: 8.992 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/0.5294, allocations: 1.928 MB / 0.8818 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00307/0.5325, allocations: 2.285 MB / 0.884 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005881/0.5384, allocations: 4.391 MB / 0.8883 GB, free: 144 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/0.5384, allocations: 4 kB / 0.8883 GB, free: 140 kB / 0.7012 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01917/0.5576, allocations: 9.019 MB / 0.8971 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.5577, allocations: 11.94 kB / 0.8972 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/0.5577, allocations: 12.59 kB / 0.8972 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01599/0.5737, allocations: 5.006 MB / 0.9021 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009024/0.5747, allocations: 199.6 kB / 0.9022 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6273/1.202, allocations: 38.92 MB / 0.9402 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/1.204, allocations: 107.3 kB / 0.9404 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002614/1.204, allocations: 65.73 kB / 0.9404 GB, free: 118.3 MB / 0.7325 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%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001796/1.206, allocations: 0.8024 MB / 0.9412 GB, free: 117.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004585/1.207, allocations: 143.6 kB / 0.9413 GB, free: 117.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01947/1.226, allocations: 8.891 MB / 0.95 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.15e-05/1.226, allocations: 23.75 kB / 0.95 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001214/1.226, allocations: 29.91 kB / 0.9501 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.668e-05/1.226, allocations: 11.58 kB / 0.9501 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02464/1.251, allocations: 13.3 MB / 0.9631 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-05/1.251, allocations: 3.781 kB / 0.9631 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/1.252, allocations: 122.2 kB / 0.9632 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01458/1.266, allocations: 4.788 MB / 0.9679 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003643/1.267, allocations: 39.31 kB / 0.9679 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04147/1.308, allocations: 34.85 MB / 1.002 GB, free: 74.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/1.308, allocations: 10.09 kB / 1.002 GB, free: 74.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01639/1.325, allocations: 8.4 MB / 1.01 GB, free: 65.71 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/1.326, allocations: 0.6163 MB / 1.011 GB, free: 65.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003009/1.326, allocations: 35.91 kB / 1.011 GB, free: 65.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/1.327, allocations: 97.69 kB / 1.011 GB, free: 64.94 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008846/1.328, allocations: 157.7 kB / 1.011 GB, free: 64.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/1.328, allocations: 48 kB / 1.011 GB, free: 64.74 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000819/1.329, allocations: 0.7382 MB / 1.012 GB, free: 63.99 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/1.329, allocations: 3.938 kB / 1.012 GB, free: 63.99 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003231/1.333, allocations: 1.008 MB / 1.013 GB, free: 62.98 MB / 0.7325 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,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003115/1.333, allocations: 146.8 kB / 1.013 GB, free: 62.83 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009146/1.342, allocations: 6.686 MB / 1.019 GB, free: 56.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.342, allocations: 0 / 1.019 GB, free: 56.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006469/1.349, allocations: 3.84 MB / 1.023 GB, free: 52.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/1.35, allocations: 238.3 kB / 1.023 GB, free: 52.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007565/1.358, allocations: 5.801 MB / 1.029 GB, free: 46.19 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/1.359, allocations: 1.855 MB / 1.031 GB, free: 44.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000853/1.36, allocations: 357.3 kB / 1.031 GB, free: 43.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/1.36, allocations: 59.42 kB / 1.031 GB, free: 43.89 MB / 0.7325 GB Notification: Performance of SimCode: time 9.31e-07/1.36, allocations: 0 / 1.031 GB, free: 43.89 MB / 0.7325 GB Notification: Performance of Templates: time 0.0737/1.434, allocations: 59.85 MB / 1.09 GB, free: 228 kB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)