Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 103.3 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 196.9 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 251.4 MB, free: 13.48 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.186/0.186, allocations: 38.51 MB / 345 MB, free: 2.641 MB / 270.1 MB [Timeout remaining time 90] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3703,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3703,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 63.91 kB / 482.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.355, allocations: 61.23 MB / 0.5309 GB, free: 5.473 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.005649/0.3607, allocations: 4.153 MB / 0.535 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.3621, allocations: 0.8651 MB / 0.5358 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.3623, allocations: 11.25 kB / 0.5358 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.3625, allocations: 45.72 kB / 0.5359 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004811/0.363, allocations: 171.9 kB / 0.5361 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.3632, allocations: 84.78 kB / 0.5361 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004919/0.3637, allocations: 399.1 kB / 0.5365 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.364, allocations: 87.75 kB / 0.5366 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.3642, allocations: 178.5 kB / 0.5368 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.3646, allocations: 195.7 kB / 0.537 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.3646, allocations: 24 kB / 0.537 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.162e-05/0.3647, allocations: 20.5 kB / 0.537 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.3648, allocations: 89.59 kB / 0.5371 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.3649, allocations: 138 kB / 0.5372 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.3652, allocations: 292 kB / 0.5375 GB, free: 1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3652, allocations: 0 / 0.5375 GB, free: 1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3652, allocations: 0 / 0.5375 GB, free: 1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3652, allocations: 1.375 kB / 0.5375 GB, free: 1 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009419/0.3662, allocations: 0.6027 MB / 0.5381 GB, free: 468 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3662, allocations: 12.11 kB / 0.5381 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.3663, allocations: 35.83 kB / 0.5381 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.3668, allocations: 347.7 kB / 0.5385 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.3668, allocations: 17.06 kB / 0.5385 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.3669, allocations: 35.5 kB / 0.5385 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.3674, allocations: 290.8 kB / 0.5388 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3674, allocations: 0 / 0.5388 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.3674, allocations: 11.97 kB / 0.5388 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.3675, allocations: 4.469 kB / 0.5388 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.3678, allocations: 187.7 kB / 0.539 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.3696, allocations: 1.285 MB / 0.5402 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.3699, allocations: 121 kB / 0.5404 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.072e-05/0.37, allocations: 48.91 kB / 0.5404 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.37, allocations: 1.25 kB / 0.5404 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.3701, allocations: 41.02 kB / 0.5404 GB, free: 14.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.3701, allocations: 0 / 0.5404 GB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001064/0.3712, allocations: 0.5367 MB / 0.541 GB, free: 13.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001968/0.3714, allocations: 104.3 kB / 0.5411 GB, free: 13.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.3718, allocations: 240.7 kB / 0.5413 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.3718, allocations: 27.3 kB / 0.5413 GB, free: 13.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.372, allocations: 203.8 kB / 0.5415 GB, free: 13.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.3721, allocations: 42.44 kB / 0.5416 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.712e-05/0.3721, allocations: 44 kB / 0.5416 GB, free: 13.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3723, allocations: 340.4 kB / 0.5419 GB, free: 13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.529e-05/0.3724, allocations: 44.09 kB / 0.542 GB, free: 12.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.3725, allocations: 132 kB / 0.5421 GB, free: 12.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.3728, allocations: 188.4 kB / 0.5423 GB, free: 12.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3728, allocations: 1.062 kB / 0.5423 GB, free: 12.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005098/0.3733, allocations: 238.8 kB / 0.5425 GB, free: 12.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3733, allocations: 7.219 kB / 0.5425 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3733, allocations: 2.781 kB / 0.5425 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/0.3735, allocations: 26.5 kB / 0.5425 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.3738, allocations: 63.17 kB / 0.5426 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3738, allocations: 4.812 kB / 0.5426 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.374, allocations: 12.38 kB / 0.5426 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.374, allocations: 8.156 kB / 0.5426 GB, free: 12.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.3741, allocations: 150.3 kB / 0.5428 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.3742, allocations: 21.89 kB / 0.5428 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.3745, allocations: 153.6 kB / 0.5429 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.3745, allocations: 6.812 kB / 0.5429 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3745, allocations: 1.844 kB / 0.5429 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3745, allocations: 4 kB / 0.5429 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.3751, allocations: 286.7 kB / 0.5432 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3751, allocations: 5.125 kB / 0.5432 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.3753, allocations: 25.39 kB / 0.5432 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3753, allocations: 2.375 kB / 0.5432 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3753, allocations: 9.062 kB / 0.5433 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.3753, allocations: 6.375 kB / 0.5433 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3753, allocations: 0 / 0.5433 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004397/0.3757, allocations: 364.1 kB / 0.5436 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.339e-05/0.3758, allocations: 102.9 kB / 0.5437 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.3759, allocations: 1.438 kB / 0.5437 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.376, allocations: 10.47 kB / 0.5437 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.376, allocations: 7.766 kB / 0.5437 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.376, allocations: 3.969 kB / 0.5437 GB, free: 11.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.3762, allocations: 168.8 kB / 0.5439 GB, free: 11.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3762, allocations: 5.188 kB / 0.5439 GB, free: 11.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003691/0.3766, allocations: 44.97 kB / 0.5439 GB, free: 11.36 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001378/0.3767, allocations: 109.1 kB / 0.544 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.3771, allocations: 201.1 kB / 0.5442 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3771, allocations: 0 / 0.5442 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.627e-05/0.3772, allocations: 54.98 kB / 0.5443 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005411/0.3777, allocations: 47.38 kB / 0.5443 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.3789, allocations: 0.6393 MB / 0.545 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.3793, allocations: 0.7698 MB / 0.5457 GB, free: 9.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.3794, allocations: 24.58 kB / 0.5457 GB, free: 9.836 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3794, allocations: 0 / 0.5457 GB, free: 9.836 MB / 398.1 MB Notification: Performance of Templates: time 0.006822/0.3862, allocations: 3.522 MB / 0.5492 GB, free: 7.996 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 480]