Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.398/1.398, allocations: 230.6 MB / 258.3 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1805/0.1805, allocations: 38.52 MB / 353.2 MB, free: 12.61 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 63.91 kB / 493.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.296, allocations: 62.47 MB / 0.5432 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.00626/0.3022, allocations: 4.748 MB / 0.5479 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.3044, allocations: 1.381 MB / 0.5492 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.3046, allocations: 20.59 kB / 0.5492 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.3058, allocations: 406.6 kB / 0.5496 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.3063, allocations: 251.6 kB / 0.5499 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.3067, allocations: 176.4 kB / 0.55 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006788/0.3074, allocations: 0.5629 MB / 0.5506 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003956/0.3078, allocations: 236.7 kB / 0.5508 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004519/0.3082, allocations: 269 kB / 0.5511 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004484/0.3087, allocations: 293.3 kB / 0.5513 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.3087, allocations: 34.88 kB / 0.5514 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.309, allocations: 136.5 kB / 0.5515 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.3092, allocations: 192.2 kB / 0.5517 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002228/0.3094, allocations: 215.7 kB / 0.5519 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.31, allocations: 0.5152 MB / 0.5524 GB, free: 9.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.31, allocations: 0 / 0.5524 GB, free: 9.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.31, allocations: 1.094 kB / 0.5524 GB, free: 9.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.31, allocations: 3.938 kB / 0.5524 GB, free: 9.688 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00119/0.3112, allocations: 0.6366 MB / 0.553 GB, free: 9.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3112, allocations: 13.27 kB / 0.553 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005577/0.3118, allocations: 87.48 kB / 0.5531 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007177/0.3125, allocations: 356.4 kB / 0.5535 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.3125, allocations: 22.44 kB / 0.5535 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.3126, allocations: 43.25 kB / 0.5535 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007345/0.3134, allocations: 480.4 kB / 0.554 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.3134, allocations: 1.25 kB / 0.554 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.3134, allocations: 15.31 kB / 0.554 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.3135, allocations: 28.75 kB / 0.554 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005334/0.3141, allocations: 342.9 kB / 0.5543 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.3164, allocations: 1.633 MB / 0.5559 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.3167, allocations: 140.3 kB / 0.5561 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.3168, allocations: 97.98 kB / 0.5562 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.3168, allocations: 6.188 kB / 0.5562 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.3169, allocations: 44.66 kB / 0.5562 GB, free: 6.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.3169, allocations: 0 / 0.5562 GB, free: 6.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001418/0.3183, allocations: 0.7077 MB / 0.5569 GB, free: 6.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.3183, allocations: 85.17 kB / 0.557 GB, free: 6.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.3187, allocations: 304.5 kB / 0.5573 GB, free: 5.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.3187, allocations: 29.7 kB / 0.5573 GB, free: 5.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.3189, allocations: 256 kB / 0.5576 GB, free: 5.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/0.319, allocations: 71.42 kB / 0.5576 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-05/0.319, allocations: 57.98 kB / 0.5577 GB, free: 5.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3192, allocations: 346.7 kB / 0.558 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.3194, allocations: 84.23 kB / 0.5581 GB, free: 4.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.3196, allocations: 197.3 kB / 0.5583 GB, free: 4.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/0.32, allocations: 315.4 kB / 0.5586 GB, free: 4.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.32, allocations: 7.938 kB / 0.5586 GB, free: 4.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008767/0.3209, allocations: 449.6 kB / 0.559 GB, free: 3.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3209, allocations: 4 kB / 0.559 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005862/0.3215, allocations: 293.2 kB / 0.5593 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004476/0.3219, allocations: 120.8 kB / 0.5594 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.3221, allocations: 59.91 kB / 0.5595 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.325, allocations: 2.277 MB / 0.5617 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.3251, allocations: 11.98 kB / 0.5617 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.3252, allocations: 19.94 kB / 0.5617 GB, free: 0.9961 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002119/0.3254, allocations: 192.9 kB / 0.5619 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.3254, allocations: 35.75 kB / 0.5619 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004268/0.3259, allocations: 241.4 kB / 0.5622 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3259, allocations: 4 kB / 0.5622 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3259, allocations: 3.938 kB / 0.5622 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3259, allocations: 0 / 0.5622 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.327, allocations: 0.6951 MB / 0.5629 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.327, allocations: 4 kB / 0.5629 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.3272, allocations: 35.97 kB / 0.5629 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.3273, allocations: 32.84 kB / 0.5629 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3273, allocations: 4.062 kB / 0.5629 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.3286, allocations: 1.489 MB / 0.5644 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3286, allocations: 11.92 kB / 0.5644 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005426/0.3292, allocations: 425.2 kB / 0.5648 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.3292, allocations: 27.81 kB / 0.5648 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.3293, allocations: 7.938 kB / 0.5648 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.3294, allocations: 11.98 kB / 0.5648 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.3295, allocations: 11.98 kB / 0.5649 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.3295, allocations: 4 kB / 0.5649 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002224/0.3297, allocations: 223 kB / 0.5651 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3297, allocations: 0 / 0.5651 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004401/0.3301, allocations: 88 kB / 0.5652 GB, free: 13.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001338/0.3303, allocations: 103.2 kB / 0.5653 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006777/0.3309, allocations: 394.7 kB / 0.5656 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3309, allocations: 0 / 0.5656 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.3313, allocations: 223.4 kB / 0.5658 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.3317, allocations: 71.86 kB / 0.5659 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.3332, allocations: 0.9268 MB / 0.5668 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.3337, allocations: 0.838 MB / 0.5676 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.3337, allocations: 23.44 kB / 0.5677 GB, free: 10.59 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3337, allocations: 0 / 0.5677 GB, free: 10.59 MB / 414.1 MB Notification: Performance of Templates: time 0.008049/0.3418, allocations: 5.76 MB / 0.5733 GB, free: 4.828 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.973927641054615] Failed to read output from testmodel.py, exit status != 0: 0.3503791280090809 0.363816039 0.050833375 Calling exit ...