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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.639/1.639, allocations: 292.3 MB / 308.1 MB, free: 4.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001379/0.001379, allocations: 194.3 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205 MB / 0.6354 GB, free: 9.836 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 95.67 kB / 0.748 GB, free: 61.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 55.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3038, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01336/0.3172, allocations: 10.07 MB / 0.9921 GB, free: 292 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.006269/0.3235, allocations: 3.225 MB / 0.9952 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.3246, allocations: 31.81 kB / 0.9952 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.3266, allocations: 0.5407 MB / 0.9958 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.3288, allocations: 0.7003 MB / 0.9964 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.3311, allocations: 0.6826 MB / 0.9971 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.005403/0.3365, allocations: 4.505 MB / 1.002 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004759/0.3413, allocations: 2.85 MB / 1.004 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.3437, allocations: 1.067 MB / 1.005 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003202/0.3469, allocations: 1.609 MB / 1.007 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001111/0.348, allocations: 160 kB / 1.007 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.3503, allocations: 0.5071 MB / 1.008 GB, free: 340 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.002016/0.3523, allocations: 0.9978 MB / 1.009 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002897/0.3552, allocations: 1.034 MB / 1.01 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005088/0.3603, allocations: 3.618 MB / 1.013 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.3604, allocations: 11.88 kB / 1.013 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3604, allocations: 0 / 1.013 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001318/0.3605, allocations: 0 / 1.013 GB, free: 10.65 MB / 0.7448 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.006772/0.3673, allocations: 2.13 MB / 1.015 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.3674, allocations: 12.03 kB / 1.015 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009003/0.3764, allocations: 1.321 MB / 1.016 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003259/0.3797, allocations: 1.255 MB / 1.018 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.403e-05/0.3798, allocations: 111.4 kB / 1.018 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003946/0.3802, allocations: 152.3 kB / 1.018 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005283/0.3855, allocations: 3.433 MB / 1.021 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/0.3856, allocations: 7.938 kB / 1.021 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002049/0.3858, allocations: 63.97 kB / 1.021 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002467/0.386, allocations: 203.1 kB / 1.022 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5544/0.9404, allocations: 3.125 MB / 1.025 GB, free: 96.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02198/0.9625, allocations: 13.61 MB / 1.038 GB, free: 90.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/0.9659, allocations: 1.729 MB / 1.04 GB, free: 90.22 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002464/0.9684, allocations: 1.437 MB / 1.041 GB, free: 89.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.9685, allocations: 13.8 kB / 1.041 GB, free: 89.73 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.9686, allocations: 43.66 kB / 1.041 GB, free: 89.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=104): time 3.967e-06/0.9686, allocations: 0 / 1.041 GB, free: 89.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=183): time 0.1463/1.115, allocations: 36.67 MB / 1.077 GB, free: 83.78 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/1.115, allocations: 80.41 kB / 1.077 GB, free: 83.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/1.117, allocations: 1.055 MB / 1.078 GB, free: 83.28 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003654/1.117, allocations: 55.3 kB / 1.078 GB, free: 83.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/1.117, allocations: 0.7902 MB / 1.079 GB, free: 82.61 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005052/1.118, allocations: 0.6177 MB / 1.079 GB, free: 82.13 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007294/1.119, allocations: 370.8 kB / 1.08 GB, free: 81.97 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.64e-05/1.119, allocations: 303.4 kB / 1.08 GB, free: 81.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/1.121, allocations: 1.93 MB / 1.082 GB, free: 81.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002723/1.124, allocations: 2.282 MB / 1.084 GB, free: 79.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005138/1.129, allocations: 4.396 MB / 1.088 GB, free: 78.08 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/1.129, allocations: 7.125 kB / 1.088 GB, free: 78.08 MB / 0.7448 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0197/1.149, allocations: 9.019 MB / 1.097 GB, free: 75.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/1.149, allocations: 6.188 kB / 1.097 GB, free: 75.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/1.149, allocations: 10.41 kB / 1.097 GB, free: 75.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01736/1.166, allocations: 4.98 MB / 1.102 GB, free: 74.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.168, allocations: 194.9 kB / 1.102 GB, free: 74.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06452/1.232, allocations: 35.29 MB / 1.137 GB, free: 58.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/1.235, allocations: 104.3 kB / 1.137 GB, free: 58.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/1.235, allocations: 68.55 kB / 1.137 GB, free: 58.16 MB / 0.7448 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.001523/1.236, allocations: 0.8016 MB / 1.138 GB, free: 57.78 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/1.237, allocations: 141.6 kB / 1.138 GB, free: 57.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01967/1.256, allocations: 8.896 MB / 1.147 GB, free: 52.01 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/1.256, allocations: 16 kB / 1.147 GB, free: 51.99 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-05/1.257, allocations: 32.56 kB / 1.147 GB, free: 51.96 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.103e-05/1.257, allocations: 13.73 kB / 1.147 GB, free: 51.95 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02575/1.282, allocations: 13.29 MB / 1.16 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-05/1.282, allocations: 4 kB / 1.16 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/1.283, allocations: 120.4 kB / 1.16 GB, free: 38.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01562/1.299, allocations: 4.753 MB / 1.164 GB, free: 33.65 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003236/1.299, allocations: 32.56 kB / 1.164 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04263/1.342, allocations: 31.58 MB / 1.195 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/1.342, allocations: 4 kB / 1.195 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02363/1.365, allocations: 12.05 MB / 1.207 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001809/1.367, allocations: 0.6135 MB / 1.208 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003135/1.368, allocations: 36 kB / 1.208 GB, free: 4.668 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/1.369, allocations: 100.4 kB / 1.208 GB, free: 4.57 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000954/1.37, allocations: 161.6 kB / 1.208 GB, free: 4.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/1.37, allocations: 44 kB / 1.208 GB, free: 4.367 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001039/1.371, allocations: 0.7382 MB / 1.209 GB, free: 3.617 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/1.371, allocations: 0 / 1.209 GB, free: 3.617 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003996/1.375, allocations: 1.008 MB / 1.21 GB, free: 2.609 MB / 0.7605 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.0003684/1.376, allocations: 145.1 kB / 1.21 GB, free: 2.461 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01153/1.387, allocations: 5.846 MB / 1.215 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.387, allocations: 0 / 1.215 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.008372/1.396, allocations: 3.844 MB / 1.219 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/1.397, allocations: 227.1 kB / 1.219 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009944/1.407, allocations: 6.897 MB / 1.226 GB, free: 1.527 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001859/1.409, allocations: 1.911 MB / 1.228 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0009398/1.41, allocations: 350.3 kB / 1.228 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/1.41, allocations: 67.42 kB / 1.228 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of SimCode: time 1.012e-06/1.41, allocations: 3.938 kB / 1.228 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of Templates: time 0.09068/1.501, allocations: 59.97 MB / 1.287 GB, free: 3.406 MB / 0.8386 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)