Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(PowerSysPro.Tests.OneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneLine") translateModel(PowerSysPro.Tests.OneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 104.5 kB / 16.98 MB, free: 6.137 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.001257/0.001257, allocations: 191.4 kB / 17.91 MB, free: 5.234 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.426/1.426, allocations: 222.9 MB / 241.6 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05522/0.05522, allocations: 8.097 MB / 299.9 MB, free: 6.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001539, allocations: 63.89 kB / 362.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2665, allocations: 51.51 MB / 413.9 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.002347/0.2689, allocations: 1.276 MB / 415.2 MB, free: 24.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2701, allocations: 1.24 MB / 416.4 MB, free: 23.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.2701, allocations: 4 kB / 416.4 MB, free: 23.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.2704, allocations: 111.5 kB / 416.5 MB, free: 22.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.2706, allocations: 55.61 kB / 416.6 MB, free: 22.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009916/0.2716, allocations: 0.7415 MB / 417.3 MB, free: 22.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.2718, allocations: 127.5 kB / 417.5 MB, free: 22.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.272, allocations: 73.84 kB / 417.5 MB, free: 21.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.733e-05/0.272, allocations: 51.73 kB / 417.6 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.317e-05/0.2721, allocations: 67.75 kB / 417.6 MB, free: 21.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.2721, allocations: 12 kB / 417.7 MB, free: 21.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.2724, allocations: 143.9 kB / 417.8 MB, free: 21.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.2724, allocations: 27.86 kB / 417.8 MB, free: 21.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.2724, allocations: 67.66 kB / 417.9 MB, free: 21.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.2727, allocations: 257.3 kB / 418.1 MB, free: 21.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2727, allocations: 3.938 kB / 418.1 MB, free: 21.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.2728, allocations: 4 kB / 418.1 MB, free: 21.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.2728, allocations: 0 / 418.1 MB, free: 21.34 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001145/0.2739, allocations: 0.5536 MB / 418.7 MB, free: 20.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.274, allocations: 15.89 kB / 418.7 MB, free: 20.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.274, allocations: 16.75 kB / 418.7 MB, free: 20.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.2742, allocations: 208.2 kB / 418.9 MB, free: 20.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.2742, allocations: 8.375 kB / 418.9 MB, free: 20.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.2742, allocations: 12.38 kB / 419 MB, free: 20.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.2744, allocations: 154.2 kB / 419.1 MB, free: 20.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2745, allocations: 192 / 419.1 MB, free: 20.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.2745, allocations: 7.938 kB / 419.1 MB, free: 20.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.2745, allocations: 8 kB / 419.1 MB, free: 20.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.2747, allocations: 115.9 kB / 419.2 MB, free: 20.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.2753, allocations: 0.5157 MB / 419.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007853/0.2761, allocations: 154.5 kB / 419.9 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.205e-05/0.2762, allocations: 36.86 kB / 419.9 MB, free: 19.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.2763, allocations: 97.02 kB / 420 MB, free: 19.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.2763, allocations: 30.56 kB / 420.1 MB, free: 19.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.2763, allocations: 4 kB / 420.1 MB, free: 19.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.001039/0.2774, allocations: 351.7 kB / 420.4 MB, free: 18.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.2774, allocations: 51.41 kB / 420.5 MB, free: 18.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.808e-05/0.2775, allocations: 140.8 kB / 420.6 MB, free: 18.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.2775, allocations: 33.64 kB / 420.6 MB, free: 18.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.2775, allocations: 124 kB / 420.8 MB, free: 18.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.2776, allocations: 27.56 kB / 420.8 MB, free: 18.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.2776, allocations: 33.7 kB / 420.8 MB, free: 18.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.2777, allocations: 322.8 kB / 421.1 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.336e-05/0.2777, allocations: 43.98 kB / 421.2 MB, free: 18.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.891e-05/0.2778, allocations: 53.7 kB / 421.2 MB, free: 18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.2779, allocations: 101.7 kB / 421.3 MB, free: 17.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.278, allocations: 0 / 421.3 MB, free: 17.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004098/0.2784, allocations: 214.1 kB / 421.5 MB, free: 17.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.2784, allocations: 8 kB / 421.5 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2784, allocations: 0 / 421.5 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004108/0.2788, allocations: 80.8 kB / 421.6 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.697e-05/0.2789, allocations: 15.98 kB / 421.6 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.2802, allocations: 1.641 MB / 423.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.362e-05/0.2803, allocations: 16 kB / 423.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.2803, allocations: 0 / 423.3 MB, free: 15.76 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.787e-05/0.2804, allocations: 125.8 kB / 423.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.2804, allocations: 7.906 kB / 423.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.2809, allocations: 214.7 kB / 423.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2809, allocations: 0 / 423.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.2809, allocations: 0 / 423.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2809, allocations: 4 kB / 423.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.2811, allocations: 237.3 kB / 423.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2811, allocations: 0 / 423.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.2811, allocations: 16 kB / 423.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003057/0.2814, allocations: 80.77 kB / 424 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.2815, allocations: 0 / 424 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.2826, allocations: 1.633 MB / 425.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2826, allocations: 4.062 kB / 425.6 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.283, allocations: 276.1 kB / 425.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.283, allocations: 88.95 kB / 426 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.2831, allocations: 0 / 426 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.2832, allocations: 4 kB / 426 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.2832, allocations: 11.98 kB / 426 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.2832, allocations: 4 kB / 426 MB, free: 12.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.677e-05/0.2833, allocations: 95.27 kB / 426.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.052e-06/0.2833, allocations: 0 / 426.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.2836, allocations: 51.94 kB / 426.1 MB, free: 12.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001493/0.2837, allocations: 127 kB / 426.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005833/0.2843, allocations: 258.8 kB / 426.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2843, allocations: 0 / 426.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003289/0.2847, allocations: 202.5 kB / 426.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.2849, allocations: 8 kB / 426.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.2855, allocations: 311.4 kB / 427 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.2856, allocations: 0.7119 MB / 427.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.2857, allocations: 15.42 kB / 427.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.2857, allocations: 3.938 kB / 427.7 MB, free: 10.97 MB / 302.1 MB Notification: Performance of Templates: time 0.003395/0.2891, allocations: 2.283 MB / 430 MB, free: 8.688 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneLine.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & ./PowerSysPro_PowerSysPro.Tests.OneLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1)