Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 100.3 kB / 15.98 MB, free: 6.34 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.001397/0.001397, allocations: 197.8 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7987/0.7987, allocations: 122.9 MB / 413.6 MB, free: 56 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.91 kB / 0.4906 GB, free: 7.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3433, allocations: 77.93 MB / 0.5667 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02438/0.3678, allocations: 22.39 MB / 0.5886 GB, free: 17.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.3787, allocations: 6.185 MB / 0.5946 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0028/0.3815, allocations: 83.31 kB / 0.5947 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004248/0.3859, allocations: 1.417 MB / 0.5961 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005097/0.391, allocations: 1.508 MB / 0.5975 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.3944, allocations: 1.236 MB / 0.5987 GB, free: 9.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00534/0.3998, allocations: 5.959 MB / 0.6046 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008461/0.4082, allocations: 7.261 MB / 0.6117 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004183/0.4124, allocations: 2.457 MB / 0.6141 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004239/0.4167, allocations: 3.034 MB / 0.617 GB, free: 7.371 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007386/0.4175, allocations: 456 kB / 0.6175 GB, free: 6.926 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.4199, allocations: 1.1 MB / 0.6185 GB, free: 5.824 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002063/0.4219, allocations: 2.039 MB / 0.6205 GB, free: 3.781 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002495/0.4244, allocations: 2.163 MB / 0.6226 GB, free: 1.609 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007244/0.4317, allocations: 7.299 MB / 0.6298 GB, free: 10.29 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4317, allocations: 0 / 0.6298 GB, free: 10.29 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4317, allocations: 4 kB / 0.6298 GB, free: 10.29 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001447/0.4319, allocations: 0 / 0.6298 GB, free: 10.29 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007309/0.4392, allocations: 3.824 MB / 0.6335 GB, free: 6.398 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4393, allocations: 8.625 kB / 0.6335 GB, free: 6.391 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006201/0.4455, allocations: 1.21 MB / 0.6347 GB, free: 5.176 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004506/0.45, allocations: 2.219 MB / 0.6369 GB, free: 2.898 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.4502, allocations: 238.4 kB / 0.6371 GB, free: 2.664 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007498/0.451, allocations: 315.9 kB / 0.6374 GB, free: 2.355 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/0.4617, allocations: 6.212 MB / 0.6435 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.712e-05/0.4619, allocations: 15.88 kB / 0.6435 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004402/0.4623, allocations: 139.9 kB / 0.6436 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005285/0.4629, allocations: 406.3 kB / 0.644 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008546/0.4714, allocations: 4.662 MB / 0.6485 GB, free: 6.664 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03107/0.5025, allocations: 29.14 MB / 0.677 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002267/0.5048, allocations: 1.407 MB / 0.6784 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.5068, allocations: 1.499 MB / 0.6798 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.5069, allocations: 13 kB / 0.6798 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.507, allocations: 43.56 kB / 0.6799 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=110): time 3.387e-06/0.507, allocations: 0 / 0.6799 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=179): time 0.1391/0.6461, allocations: 37.23 MB / 0.7162 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.6462, allocations: 69.41 kB / 0.7163 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/0.6482, allocations: 1.423 MB / 0.7177 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003612/0.6486, allocations: 57.7 kB / 0.7178 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.6498, allocations: 1.535 MB / 0.7193 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007202/0.6505, allocations: 0.6084 MB / 0.7198 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007518/0.6513, allocations: 383.3 kB / 0.7202 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.6514, allocations: 305.1 kB / 0.7205 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002588/0.654, allocations: 1.784 MB / 0.7222 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003023/0.657, allocations: 2.35 MB / 0.7245 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005758/0.6628, allocations: 4.394 MB / 0.7288 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.6628, allocations: 11.94 kB / 0.7288 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01816/0.681, allocations: 8.567 MB / 0.7372 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.681, allocations: 13.88 kB / 0.7372 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/0.6811, allocations: 20 kB / 0.7372 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01465/0.6957, allocations: 4.663 MB / 0.7418 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.6969, allocations: 303.4 kB / 0.7421 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3171/1.014, allocations: 32.61 MB / 0.7739 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/1.016, allocations: 148.9 kB / 0.7741 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/1.016, allocations: 82.12 kB / 0.7742 GB, free: 139.3 MB / 0.5762 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002145/1.019, allocations: 1.333 MB / 0.7755 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004184/1.019, allocations: 201.2 kB / 0.7756 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/1.034, allocations: 8.438 MB / 0.7839 GB, free: 136 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/1.034, allocations: 15.41 kB / 0.7839 GB, free: 136 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.476e-05/1.034, allocations: 27.12 kB / 0.7839 GB, free: 136 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.018e-05/1.034, allocations: 7.969 kB / 0.7839 GB, free: 136 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02009/1.054, allocations: 12.85 MB / 0.7965 GB, free: 125.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/1.054, allocations: 4 kB / 0.7965 GB, free: 125.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006863/1.055, allocations: 170.2 kB / 0.7967 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01253/1.067, allocations: 4.514 MB / 0.8011 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002592/1.068, allocations: 44 kB / 0.8011 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03611/1.104, allocations: 32.21 MB / 0.8326 GB, free: 87.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.104, allocations: 11.94 kB / 0.8326 GB, free: 87.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/1.118, allocations: 8.244 MB / 0.8406 GB, free: 79.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/1.119, allocations: 0.6117 MB / 0.8412 GB, free: 78.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000374/1.12, allocations: 43.98 kB / 0.8413 GB, free: 78.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/1.121, allocations: 131.8 kB / 0.8414 GB, free: 78.42 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008361/1.122, allocations: 176.9 kB / 0.8416 GB, free: 78.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/1.122, allocations: 48 kB / 0.8416 GB, free: 78.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001032/1.123, allocations: 0.9549 MB / 0.8425 GB, free: 77.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/1.123, allocations: 3.938 kB / 0.8425 GB, free: 77.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003188/1.126, allocations: 1.117 MB / 0.8436 GB, free: 76.13 MB / 0.5762 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003002/1.127, allocations: 158.7 kB / 0.8438 GB, free: 75.97 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01122/1.138, allocations: 7.064 MB / 0.8507 GB, free: 68.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.138, allocations: 7.656 kB / 0.8507 GB, free: 68.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007703/1.146, allocations: 4.367 MB / 0.8549 GB, free: 64.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/1.148, allocations: 0.5158 MB / 0.8554 GB, free: 63.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/1.159, allocations: 8.436 MB / 0.8637 GB, free: 55.44 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002356/1.161, allocations: 2.727 MB / 0.8663 GB, free: 52.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001062/1.162, allocations: 384.6 kB / 0.8667 GB, free: 52.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/1.162, allocations: 91.44 kB / 0.8668 GB, free: 52.21 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/1.162, allocations: 4 kB / 0.8668 GB, free: 52.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.1023/1.265, allocations: 61.11 MB / 0.9265 GB, free: 7.426 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)