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.001456/0.001456, allocations: 73.48 kB / 21.24 MB, free: 0.5547 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.001455/0.001455, allocations: 160.8 kB / 24.5 MB, free: 3.715 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.455/1.455, allocations: 177.2 MB / 204.9 MB, free: 8.98 MB / 190.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.2061/0.2061, allocations: 29.43 MB / 290.7 MB, free: 3.254 MB / 270.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.002087/0.002087, allocations: 67.89 kB / 431.2 MB, free: 3.195 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3185, allocations: 62.44 MB / 493.6 MB, free: 37.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.00532/0.3239, allocations: 4.499 MB / 498.1 MB, free: 34.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3257, allocations: 1.268 MB / 499.4 MB, free: 33.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.3259, allocations: 22.22 kB / 499.4 MB, free: 33.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.327, allocations: 387.6 kB / 499.8 MB, free: 33.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004821/0.3275, allocations: 249.1 kB / 0.4883 GB, free: 33.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.3279, allocations: 176.5 kB / 0.4885 GB, free: 33.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004316/0.3283, allocations: 0.5622 MB / 0.489 GB, free: 33.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.3287, allocations: 230.8 kB / 0.4893 GB, free: 33.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.329, allocations: 271.8 kB / 0.4895 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000366/0.3294, allocations: 269.6 kB / 0.4898 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.479e-05/0.3294, allocations: 36.03 kB / 0.4898 GB, free: 32.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.3297, allocations: 130.8 kB / 0.4899 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.3298, allocations: 201 kB / 0.4901 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.33, allocations: 171.3 kB / 0.4903 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.3305, allocations: 0.5163 MB / 0.4908 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3305, allocations: 6.781 kB / 0.4908 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3305, allocations: 0 / 0.4908 GB, free: 32.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.3305, allocations: 0 / 0.4908 GB, free: 32.53 MB / 446.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.0009551/0.3314, allocations: 0.6312 MB / 0.4914 GB, free: 32.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3315, allocations: 16.17 kB / 0.4914 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005639/0.332, allocations: 92.72 kB / 0.4915 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005804/0.3326, allocations: 346.5 kB / 0.4919 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.3326, allocations: 30.14 kB / 0.4919 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.3328, allocations: 48.52 kB / 0.4919 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.3333, allocations: 467.1 kB / 0.4924 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.3333, allocations: 3.938 kB / 0.4924 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.3333, allocations: 19.27 kB / 0.4924 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/0.3335, allocations: 31.08 kB / 0.4924 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004508/0.3339, allocations: 339.7 kB / 0.4927 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.3355, allocations: 1.39 MB / 0.4941 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.3358, allocations: 138.6 kB / 0.4942 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.3359, allocations: 107.2 kB / 0.4943 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3359, allocations: 0 / 0.4943 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.3359, allocations: 45.33 kB / 0.4944 GB, free: 30.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.3359, allocations: 0 / 0.4944 GB, free: 30.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001247/0.3372, allocations: 0.706 MB / 0.4951 GB, free: 29.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.3372, allocations: 80.27 kB / 0.4952 GB, free: 29.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.3375, allocations: 293.5 kB / 0.4954 GB, free: 29.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3375, allocations: 28.86 kB / 0.4955 GB, free: 29.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.3376, allocations: 257.5 kB / 0.4957 GB, free: 29.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.3376, allocations: 68.41 kB / 0.4958 GB, free: 29.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.698e-05/0.3377, allocations: 65.17 kB / 0.4958 GB, free: 29.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.3378, allocations: 338.9 kB / 0.4962 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.3379, allocations: 96.11 kB / 0.4962 GB, free: 28.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.338, allocations: 194.8 kB / 0.4964 GB, free: 28.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.3384, allocations: 314.3 kB / 0.4967 GB, free: 28.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3384, allocations: 4 kB / 0.4967 GB, free: 28.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007198/0.3391, allocations: 451 kB / 0.4972 GB, free: 28.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3391, allocations: 6.062 kB / 0.4972 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004895/0.3396, allocations: 287.5 kB / 0.4974 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004193/0.34, allocations: 122.4 kB / 0.4976 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.3402, allocations: 57.11 kB / 0.4976 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.3424, allocations: 2.246 MB / 0.4998 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.3426, allocations: 13.86 kB / 0.4998 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.3426, allocations: 13.47 kB / 0.4998 GB, free: 26.46 MB / 446.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.0002033/0.3428, allocations: 198.6 kB / 0.5 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.3429, allocations: 28.69 kB / 0.5001 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.3433, allocations: 246.5 kB / 0.5003 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.3433, allocations: 0 / 0.5003 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.3433, allocations: 2.938 kB / 0.5003 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3433, allocations: 4 kB / 0.5003 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009506/0.3442, allocations: 0.6077 MB / 0.5009 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3442, allocations: 0 / 0.5009 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.3444, allocations: 43.72 kB / 0.5009 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.138e-05/0.3445, allocations: 35.94 kB / 0.501 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.3445, allocations: 3.219 kB / 0.501 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009617/0.3455, allocations: 1.46 MB / 0.5024 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3455, allocations: 3.188 kB / 0.5024 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.3459, allocations: 424.8 kB / 0.5028 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.3459, allocations: 25.22 kB / 0.5028 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.346, allocations: 11.25 kB / 0.5028 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.3461, allocations: 6.516 kB / 0.5028 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.3462, allocations: 21.16 kB / 0.5029 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.3462, allocations: 3.156 kB / 0.5029 GB, free: 24.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.3463, allocations: 205.2 kB / 0.5031 GB, free: 23.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3463, allocations: 3.938 kB / 0.5031 GB, free: 23.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004407/0.3467, allocations: 84.44 kB / 0.5031 GB, free: 23.98 MB / 446.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 9.106e-05/0.3468, allocations: 107.6 kB / 0.5032 GB, free: 23.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005876/0.3474, allocations: 381.5 kB / 0.5036 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3474, allocations: 7.25 kB / 0.5036 GB, free: 23.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.3477, allocations: 229.6 kB / 0.5038 GB, free: 23.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.3481, allocations: 62.06 kB / 0.5039 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.3492, allocations: 0.8722 MB / 0.5047 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.3494, allocations: 237.5 kB / 0.505 GB, free: 22.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.3495, allocations: 57.7 kB / 0.505 GB, free: 22.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.3496, allocations: 24.66 kB / 0.5051 GB, free: 22.82 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3496, allocations: 0 / 0.5051 GB, free: 22.82 MB / 446.1 MB Notification: Performance of Templates: time 0.007345/0.3569, allocations: 3.814 MB / 0.5088 GB, free: 22.37 MB / 446.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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.930643180967309] Failed to read output from testmodel.py, exit status != 0: 0.3647221759893 0.375613695 0.042486533 Calling exit ...