Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001511/0.001511, 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.001688/0.001688, 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.388/1.388, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1727/0.1727, allocations: 38.53 MB / 353.2 MB, free: 12.6 MB / 286.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.PQsource,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.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,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.PQsource") [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.001944/0.001944, allocations: 67.89 kB / 493.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2886, allocations: 62.46 MB / 0.5432 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006339/0.2949, allocations: 4.736 MB / 0.5479 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.2973, allocations: 1.356 MB / 0.5492 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.2975, allocations: 20.84 kB / 0.5492 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.2987, allocations: 410.1 kB / 0.5496 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005167/0.2992, allocations: 261.5 kB / 0.5498 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.2997, allocations: 168.1 kB / 0.55 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006068/0.3003, allocations: 0.5638 MB / 0.5505 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003736/0.3006, allocations: 233.4 kB / 0.5508 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.301, allocations: 273.5 kB / 0.551 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004587/0.3015, allocations: 303.2 kB / 0.5513 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.3015, allocations: 30 kB / 0.5513 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.3018, allocations: 131.6 kB / 0.5515 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.302, allocations: 200.5 kB / 0.5517 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.3023, allocations: 215.8 kB / 0.5519 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006562/0.3029, allocations: 0.5172 MB / 0.5524 GB, free: 9.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3029, allocations: 0 / 0.5524 GB, free: 9.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3029, allocations: 1.781 kB / 0.5524 GB, free: 9.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.3029, allocations: 4 kB / 0.5524 GB, free: 9.719 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.001159/0.3041, allocations: 0.6257 MB / 0.553 GB, free: 9.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.3041, allocations: 12.58 kB / 0.553 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005572/0.3047, allocations: 92.67 kB / 0.5531 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000699/0.3054, allocations: 355.8 kB / 0.5534 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.3054, allocations: 23.34 kB / 0.5535 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.3055, allocations: 43.25 kB / 0.5535 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007545/0.3063, allocations: 488.2 kB / 0.554 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.3063, allocations: 1.031 kB / 0.554 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/0.3064, allocations: 15.44 kB / 0.554 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.3065, allocations: 24.52 kB / 0.554 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.307, allocations: 353.3 kB / 0.5543 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.3094, allocations: 1.665 MB / 0.556 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.3097, allocations: 147.1 kB / 0.5561 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.3098, allocations: 101.6 kB / 0.5562 GB, free: 6.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3099, allocations: 6.188 kB / 0.5562 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3099, allocations: 40.5 kB / 0.5562 GB, free: 6.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.3099, allocations: 0 / 0.5562 GB, free: 6.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001492/0.3114, allocations: 0.7461 MB / 0.557 GB, free: 6.117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.3114, allocations: 77.11 kB / 0.557 GB, free: 6.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.3118, allocations: 316.4 kB / 0.5573 GB, free: 5.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.3118, allocations: 25.7 kB / 0.5574 GB, free: 5.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.312, allocations: 264 kB / 0.5576 GB, free: 5.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.095e-05/0.3121, allocations: 71.42 kB / 0.5577 GB, free: 5.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.916e-05/0.3122, allocations: 62.11 kB / 0.5578 GB, free: 5.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3124, allocations: 342.8 kB / 0.5581 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.3125, allocations: 96.22 kB / 0.5582 GB, free: 4.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.3128, allocations: 205.3 kB / 0.5584 GB, free: 4.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/0.3132, allocations: 323.5 kB / 0.5587 GB, free: 4.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3132, allocations: 8 kB / 0.5587 GB, free: 4.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009168/0.3141, allocations: 469.9 kB / 0.5591 GB, free: 3.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3141, allocations: 12.06 kB / 0.5591 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006173/0.3148, allocations: 300.7 kB / 0.5594 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005063/0.3153, allocations: 140.7 kB / 0.5596 GB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.3155, allocations: 59.91 kB / 0.5596 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/0.3185, allocations: 2.335 MB / 0.5619 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.3186, allocations: 16 kB / 0.5619 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.3187, allocations: 15.94 kB / 0.5619 GB, free: 0.7695 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.0002357/0.3189, allocations: 193.7 kB / 0.5621 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.3189, allocations: 27.81 kB / 0.5621 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004544/0.3194, allocations: 261.3 kB / 0.5624 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3194, allocations: 4 kB / 0.5624 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3194, allocations: 3.938 kB / 0.5624 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.3194, allocations: 3.984 kB / 0.5624 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.3206, allocations: 0.7107 MB / 0.5631 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3206, allocations: 0 / 0.5631 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.3208, allocations: 35.98 kB / 0.5631 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.3209, allocations: 36.83 kB / 0.5632 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.321, allocations: 16.05 kB / 0.5632 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.321, allocations: 8 kB / 0.5632 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.321, allocations: 0 / 0.5632 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/0.3216, allocations: 433.1 kB / 0.5636 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.3216, allocations: 35.84 kB / 0.5636 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.3217, allocations: 4 kB / 0.5636 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3218, allocations: 15.92 kB / 0.5637 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.3218, allocations: 11.92 kB / 0.5637 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3218, allocations: 4 kB / 0.5637 GB, free: 14.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.3221, allocations: 227 kB / 0.5639 GB, free: 14.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3221, allocations: 0 / 0.5639 GB, free: 14.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004455/0.3225, allocations: 84 kB / 0.564 GB, free: 14.57 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000134/0.3227, allocations: 103.3 kB / 0.5641 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007207/0.3234, allocations: 405.6 kB / 0.5645 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3234, allocations: 4.25 kB / 0.5645 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.3236, allocations: 104.7 kB / 0.5646 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.324, allocations: 63.69 kB / 0.5646 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.3255, allocations: 0.9308 MB / 0.5655 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.3261, allocations: 0.8418 MB / 0.5663 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.3261, allocations: 23.44 kB / 0.5664 GB, free: 12.01 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3261, allocations: 0 / 0.5664 GB, free: 12.01 MB / 414.1 MB Notification: Performance of Templates: time 0.008888/0.335, allocations: 5.771 MB / 0.572 GB, free: 6.246 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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: 7.800035958876833]