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.0007669/0.0007669, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.0008678/0.0008678, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9698/0.9698, allocations: 177.1 MB / 205 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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.2308/0.2308, allocations: 29.42 MB / 290.9 MB, free: 2.508 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.456e-06/9.718e-06, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.003719/0.003728, allocations: 4.236 MB / 373.9 MB, free: 6.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.005166, allocations: 1.321 MB / 375.2 MB, free: 5.406 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.005298, allocations: 19.81 kB / 375.2 MB, free: 5.387 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.005643, allocations: 163 kB / 375.4 MB, free: 5.227 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.005943, allocations: 254.5 kB / 375.6 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.006186, allocations: 171.5 kB / 375.8 MB, free: 4.809 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.006553, allocations: 0.5722 MB / 376.4 MB, free: 4.234 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.006782, allocations: 233.4 kB / 376.6 MB, free: 4.008 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.00707, allocations: 347 kB / 376.9 MB, free: 3.668 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.007308, allocations: 259.3 kB / 377.2 MB, free: 3.414 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.007343, allocations: 32 kB / 377.2 MB, free: 3.383 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.007493, allocations: 135.7 kB / 377.4 MB, free: 3.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.00762, allocations: 203.5 kB / 377.5 MB, free: 3.051 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.007733, allocations: 147.6 kB / 377.7 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.008074, allocations: 390.6 kB / 378.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.008076, allocations: 0 / 378.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.008076, allocations: 4 kB / 378.1 MB, free: 2.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.008081, allocations: 0 / 378.1 MB, free: 2.52 MB / 346.7 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.0006813/0.008762, allocations: 0.731 MB / 378.8 MB, free: 1.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.008793, allocations: 11.98 kB / 378.8 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003528/0.009145, allocations: 120.6 kB / 378.9 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.009527, allocations: 370.6 kB / 379.3 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.009548, allocations: 33.36 kB / 379.3 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.711e-05/0.009625, allocations: 36.73 kB / 379.4 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.009977, allocations: 346 kB / 379.7 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.009989, allocations: 0 / 379.7 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.01001, allocations: 19.98 kB / 379.7 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.788e-05/0.01007, allocations: 24.98 kB / 379.8 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.01028, allocations: 157.8 kB / 379.9 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.01144, allocations: 1.528 MB / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.0116, allocations: 110.1 kB / 381.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.074e-05/0.01167, allocations: 67.41 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.01169, allocations: 0 / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.01172, allocations: 37.39 kB / 381.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 8.62e-07/0.01172, allocations: 0 / 381.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007694/0.01249, allocations: 0.5618 MB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.01252, allocations: 85.11 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.01271, allocations: 330.2 kB / 382.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.01273, allocations: 25.7 kB / 382.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.01286, allocations: 310.7 kB / 382.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.01289, allocations: 63.47 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/0.01296, allocations: 71.72 kB / 383.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.01308, allocations: 0.5195 MB / 383.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.183e-05/0.01314, allocations: 44.06 kB / 383.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.01326, allocations: 183.8 kB / 383.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.01347, allocations: 258.5 kB / 384.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.01348, allocations: 3.938 kB / 384.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004252/0.0139, allocations: 335.8 kB / 384.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.01391, allocations: 4 kB / 384.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000248/0.01416, allocations: 171.7 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003171/0.01448, allocations: 115.9 kB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.01459, allocations: 55.91 kB / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.01609, allocations: 2.359 MB / 387.1 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.603e-05/0.01617, allocations: 8 kB / 387.1 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.01619, allocations: 16 kB / 387.1 MB, free: 8.895 MB / 362.7 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 9.331e-05/0.01628, allocations: 176.4 kB / 387.3 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.01632, allocations: 35.75 kB / 387.3 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.01652, allocations: 170.6 kB / 387.5 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01652, allocations: 4 kB / 387.5 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.01652, allocations: 0 / 387.5 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01653, allocations: 0 / 387.5 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005546/0.01708, allocations: 0.59 MB / 388.1 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01708, allocations: 4 kB / 388.1 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.01719, allocations: 31.98 kB / 388.1 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.224e-05/0.01724, allocations: 27.67 kB / 388.1 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.01725, allocations: 3.984 kB / 388.2 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007276/0.01798, allocations: 1.892 MB / 390 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.01798, allocations: 8.094 kB / 390.1 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.01824, allocations: 366.3 kB / 390.4 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/0.01827, allocations: 31.92 kB / 390.4 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.01829, allocations: 4 kB / 390.4 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.956e-05/0.01836, allocations: 7.984 kB / 390.5 MB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.01838, allocations: 19.92 kB / 390.5 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.01839, allocations: 7.938 kB / 390.5 MB, free: 5.301 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001138/0.0185, allocations: 219 kB / 390.7 MB, free: 5.086 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0185, allocations: 0 / 390.7 MB, free: 5.086 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002675/0.01877, allocations: 91.94 kB / 390.8 MB, free: 4.996 MB / 362.7 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 6.8e-05/0.01884, allocations: 103.2 kB / 390.9 MB, free: 4.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003772/0.01922, allocations: 370.9 kB / 391.2 MB, free: 4.508 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01922, allocations: 0 / 391.2 MB, free: 4.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.01939, allocations: 274 kB / 391.5 MB, free: 4.215 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.01967, allocations: 59.98 kB / 391.6 MB, free: 4.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.02083, allocations: 0.7813 MB / 392.4 MB, free: 3.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.132e-05/0.02091, allocations: 132.6 kB / 392.5 MB, free: 3.184 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.336e-05/0.02101, allocations: 58.91 kB / 392.5 MB, free: 3.129 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.02105, allocations: 24.5 kB / 392.6 MB, free: 3.105 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02105, allocations: 3.938 kB / 392.6 MB, free: 3.102 MB / 362.7 MB Notification: Performance of Templates: time 0.005295/0.02635, allocations: 3.938 MB / 396.5 MB, free: 15.21 MB / 378.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0977212749421597]