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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.001091/0.001091, allocations: 105.1 kB / 16.31 MB, free: 6.391 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.001278/0.001278, allocations: 190.5 kB / 17.24 MB, free: 5.922 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.313/1.313, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05116/0.05116, allocations: 8.11 MB / 299.2 MB, free: 6.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.89 kB / 361.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.247, allocations: 51.51 MB / 413.2 MB, free: 25.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.002488/0.2496, allocations: 1.267 MB / 414.5 MB, free: 24.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.251, allocations: 1.244 MB / 415.7 MB, free: 23.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.251, allocations: 0 / 415.7 MB, free: 23.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.2514, allocations: 111.5 kB / 415.9 MB, free: 22.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.2516, allocations: 51.61 kB / 415.9 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2526, allocations: 0.7428 MB / 416.6 MB, free: 22.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.2528, allocations: 135.3 kB / 416.8 MB, free: 22.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.2529, allocations: 69.33 kB / 416.8 MB, free: 21.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.988e-05/0.253, allocations: 51.8 kB / 416.9 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.379e-05/0.2531, allocations: 67.75 kB / 417 MB, free: 21.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.2531, allocations: 12 kB / 417 MB, free: 21.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.2533, allocations: 147.8 kB / 417.1 MB, free: 21.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.2534, allocations: 27.86 kB / 417.1 MB, free: 21.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.2534, allocations: 67.72 kB / 417.2 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.2537, allocations: 253.3 kB / 417.5 MB, free: 21.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2537, allocations: 0 / 417.5 MB, free: 21.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2537, allocations: 3.938 kB / 417.5 MB, free: 21.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2538, allocations: 0 / 417.5 MB, free: 21.35 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.001394/0.2552, allocations: 0.5575 MB / 418 MB, free: 20.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2552, allocations: 8.031 kB / 418 MB, free: 20.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.2553, allocations: 20.69 kB / 418 MB, free: 20.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.2555, allocations: 204.9 kB / 418.2 MB, free: 20.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.2555, allocations: 16.38 kB / 418.3 MB, free: 20.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.2555, allocations: 12.38 kB / 418.3 MB, free: 20.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.2558, allocations: 158.1 kB / 418.4 MB, free: 20.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2558, allocations: 4.125 kB / 418.4 MB, free: 20.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.2558, allocations: 11.94 kB / 418.4 MB, free: 20.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2558, allocations: 0 / 418.4 MB, free: 20.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.256, allocations: 108 kB / 418.6 MB, free: 20.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006573/0.2567, allocations: 0.5157 MB / 419.1 MB, free: 19.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007891/0.2575, allocations: 158.4 kB / 419.2 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.552e-05/0.2575, allocations: 36.86 kB / 419.3 MB, free: 19.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.2577, allocations: 101 kB / 419.4 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.2577, allocations: 30.56 kB / 419.4 MB, free: 19.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.2577, allocations: 0 / 419.4 MB, free: 19.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.001062/0.2588, allocations: 351.4 kB / 419.7 MB, free: 18.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.2588, allocations: 55.41 kB / 419.8 MB, free: 18.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.904e-05/0.2589, allocations: 133.1 kB / 419.9 MB, free: 18.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.2589, allocations: 41.64 kB / 420 MB, free: 18.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.259, allocations: 120 kB / 420.1 MB, free: 18.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.259, allocations: 27.56 kB / 420.1 MB, free: 18.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.259, allocations: 33.7 kB / 420.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.911e-05/0.2591, allocations: 318.8 kB / 420.4 MB, free: 18.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.324e-05/0.2592, allocations: 39.98 kB / 420.5 MB, free: 18.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.2592, allocations: 57.7 kB / 420.5 MB, free: 18.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.2594, allocations: 105.7 kB / 420.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2594, allocations: 0 / 420.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004208/0.2598, allocations: 210.2 kB / 420.8 MB, free: 17.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2598, allocations: 4 kB / 420.9 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2598, allocations: 0 / 420.9 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004044/0.2603, allocations: 80.8 kB / 420.9 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.746e-05/0.2603, allocations: 19.92 kB / 421 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.2617, allocations: 1.637 MB / 422.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.412e-05/0.2618, allocations: 11.94 kB / 422.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.2618, allocations: 4 kB / 422.6 MB, free: 15.78 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 8.999e-05/0.2619, allocations: 125.8 kB / 422.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.2619, allocations: 8.281 kB / 422.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/0.2624, allocations: 218.9 kB / 422.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2624, allocations: 0 / 422.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2624, allocations: 4 kB / 423 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2624, allocations: 3.938 kB / 423 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.2626, allocations: 237.3 kB / 423.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2626, allocations: 0 / 423.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.2627, allocations: 12 kB / 423.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003205/0.263, allocations: 80.77 kB / 423.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.263, allocations: 0 / 423.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.2642, allocations: 1.633 MB / 424.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2642, allocations: 0 / 424.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.2646, allocations: 284.4 kB / 425.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.2647, allocations: 92.94 kB / 425.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.2647, allocations: 0 / 425.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2648, allocations: 4 kB / 425.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.2648, allocations: 15.92 kB / 425.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.2648, allocations: 4 kB / 425.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.071e-05/0.2649, allocations: 95.27 kB / 425.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2649, allocations: 0 / 425.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003167/0.2652, allocations: 52 kB / 425.4 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.0001741/0.2654, allocations: 119 kB / 425.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005942/0.266, allocations: 262.7 kB / 425.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.266, allocations: 4 kB / 425.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.2663, allocations: 194.7 kB / 426 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.2666, allocations: 8 kB / 426 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.2671, allocations: 285.6 kB / 426.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.2672, allocations: 0.708 MB / 427 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.753e-05/0.2673, allocations: 8.656 kB / 427 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.065e-05/0.2673, allocations: 15.44 kB / 427 MB, free: 11 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2673, allocations: 4 kB / 427 MB, free: 11 MB / 302.1 MB Notification: Performance of Templates: time 0.004362/0.2717, allocations: 1.972 MB / 429 MB, free: 9.039 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)