Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001272/0.001272, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001461/0.001461, allocations: 164.6 kB / 24.49 MB, free: 3.453 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.477/1.477, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1755/0.1755, allocations: 29.42 MB / 290.7 MB, free: 3.316 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_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.002084/0.002084, allocations: 63.84 kB / 431.2 MB, free: 3.234 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3371, allocations: 62.45 MB / 493.6 MB, free: 37.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004782/0.3418, allocations: 4.487 MB / 498.1 MB, free: 34.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.3435, allocations: 1.275 MB / 499.4 MB, free: 33.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.3437, allocations: 21.59 kB / 499.4 MB, free: 33.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.3448, allocations: 388.2 kB / 499.8 MB, free: 33.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004419/0.3452, allocations: 254.9 kB / 0.4883 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.3456, allocations: 180.3 kB / 0.4885 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004213/0.346, allocations: 0.5587 MB / 0.489 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003127/0.3463, allocations: 230.6 kB / 0.4893 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003145/0.3466, allocations: 272 kB / 0.4895 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003697/0.347, allocations: 272.3 kB / 0.4898 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.3471, allocations: 31.19 kB / 0.4898 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.3473, allocations: 132 kB / 0.4899 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.3474, allocations: 195.2 kB / 0.4901 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.3476, allocations: 177.2 kB / 0.4903 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.3481, allocations: 0.5177 MB / 0.4908 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3481, allocations: 3.375 kB / 0.4908 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3481, allocations: 0 / 0.4908 GB, free: 32.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.3481, allocations: 0 / 0.4908 GB, free: 32.5 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.001029/0.3491, allocations: 0.6379 MB / 0.4914 GB, free: 32.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.3491, allocations: 13.8 kB / 0.4914 GB, free: 32.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005586/0.3497, allocations: 88.2 kB / 0.4915 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.3503, allocations: 347.3 kB / 0.4919 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.3503, allocations: 31.48 kB / 0.4919 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.3504, allocations: 43.69 kB / 0.4919 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.351, allocations: 470.6 kB / 0.4924 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.351, allocations: 6.906 kB / 0.4924 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.351, allocations: 14.91 kB / 0.4924 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.3511, allocations: 28.44 kB / 0.4924 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/0.3516, allocations: 336.8 kB / 0.4927 GB, free: 31.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.3532, allocations: 1.393 MB / 0.4941 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.3535, allocations: 147.8 kB / 0.4942 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.3536, allocations: 99.72 kB / 0.4943 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.3536, allocations: 3 kB / 0.4943 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.3536, allocations: 49.06 kB / 0.4944 GB, free: 30.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.3536, allocations: 0 / 0.4944 GB, free: 30.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001225/0.3549, allocations: 0.7078 MB / 0.4951 GB, free: 29.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.3549, allocations: 84.33 kB / 0.4952 GB, free: 29.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.3551, allocations: 289 kB / 0.4954 GB, free: 29.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3551, allocations: 25.7 kB / 0.4955 GB, free: 29.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.3552, allocations: 265.3 kB / 0.4957 GB, free: 29.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.3553, allocations: 63.67 kB / 0.4958 GB, free: 29.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.419e-05/0.3553, allocations: 59.78 kB / 0.4958 GB, free: 29.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.3554, allocations: 342.4 kB / 0.4962 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.3555, allocations: 89.62 kB / 0.4962 GB, free: 28.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.3557, allocations: 195.8 kB / 0.4964 GB, free: 28.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.356, allocations: 324.2 kB / 0.4967 GB, free: 28.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.356, allocations: 0 / 0.4967 GB, free: 28.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007319/0.3567, allocations: 445.1 kB / 0.4972 GB, free: 28.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3567, allocations: 10.47 kB / 0.4972 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000499/0.3572, allocations: 288.7 kB / 0.4975 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004295/0.3577, allocations: 122.5 kB / 0.4976 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.3579, allocations: 56.59 kB / 0.4976 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.3599, allocations: 2.243 MB / 0.4998 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.3601, allocations: 13 kB / 0.4998 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.3601, allocations: 16.66 kB / 0.4998 GB, free: 26.42 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.0001627/0.3603, allocations: 199.8 kB / 0.5 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.3603, allocations: 25.72 kB / 0.5001 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.3607, allocations: 245.8 kB / 0.5003 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3607, allocations: 7.062 kB / 0.5003 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.3607, allocations: 0 / 0.5003 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3607, allocations: 10.33 kB / 0.5003 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008591/0.3615, allocations: 0.6045 MB / 0.5009 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3615, allocations: 2.875 kB / 0.5009 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.3617, allocations: 38.5 kB / 0.5009 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.792e-05/0.3618, allocations: 32.48 kB / 0.501 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.3618, allocations: 7.344 kB / 0.501 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007973/0.3626, allocations: 1.457 MB / 0.5024 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3626, allocations: 0 / 0.5024 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.3631, allocations: 428.9 kB / 0.5028 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.3631, allocations: 29.72 kB / 0.5028 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.3632, allocations: 7.375 kB / 0.5028 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.3633, allocations: 9.922 kB / 0.5029 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.3633, allocations: 14.5 kB / 0.5029 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.3633, allocations: 6.344 kB / 0.5029 GB, free: 24.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.3635, allocations: 202.8 kB / 0.5031 GB, free: 23.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3635, allocations: 0 / 0.5031 GB, free: 23.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004565/0.3639, allocations: 86.09 kB / 0.5031 GB, free: 23.94 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.069e-05/0.364, allocations: 103.3 kB / 0.5032 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000588/0.3646, allocations: 391.8 kB / 0.5036 GB, free: 23.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3646, allocations: 0 / 0.5036 GB, free: 23.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.3649, allocations: 224.7 kB / 0.5038 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.3653, allocations: 66.92 kB / 0.5039 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.3664, allocations: 0.8765 MB / 0.5048 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.3666, allocations: 238.4 kB / 0.505 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001418/0.3668, allocations: 59.39 kB / 0.505 GB, free: 22.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.3668, allocations: 24.81 kB / 0.5051 GB, free: 22.79 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3668, allocations: 0 / 0.5051 GB, free: 22.79 MB / 446.1 MB Notification: Performance of Templates: time 0.007417/0.3742, allocations: 3.813 MB / 0.5088 GB, free: 22.34 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.969404779956676]