Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.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.001275/0.001275, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001826/0.001826, allocations: 165 kB / 24.56 MB, free: 12 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 1.009/1.009, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2677/0.2677, allocations: 29.42 MB / 290.9 MB, free: 2.461 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.WindGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|sensor.p.[0-9,]+.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|sensor.p.[0-9,]+.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 369.7 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.302e-05, allocations: 6.312 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.009965/0.009998, allocations: 7.091 MB / 376.8 MB, free: 3.859 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008896/0.01889, allocations: 5.238 MB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009395/0.01983, allocations: 35.75 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008543/0.02838, allocations: 5.718 MB / 387.7 MB, free: 8.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.03005, allocations: 0.6953 MB / 388.4 MB, free: 8.141 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009557/0.031, allocations: 470.9 kB / 388.9 MB, free: 7.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002159/0.03316, allocations: 2.354 MB / 391.2 MB, free: 5.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.03437, allocations: 0.9987 MB / 392.2 MB, free: 4.301 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.03566, allocations: 0.982 MB / 393.2 MB, free: 3.316 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007521/0.03641, allocations: 0.6505 MB / 393.9 MB, free: 2.664 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.03653, allocations: 104 kB / 394 MB, free: 2.562 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000727/0.03726, allocations: 443.2 kB / 394.4 MB, free: 2.129 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003256/0.03758, allocations: 0.4948 MB / 394.9 MB, free: 1.633 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.03793, allocations: 391.2 kB / 395.3 MB, free: 1.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.03912, allocations: 1.11 MB / 396.4 MB, free: 140 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.03913, allocations: 0 / 396.4 MB, free: 140 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.03913, allocations: 4 kB / 396.4 MB, free: 136 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.03915, allocations: 0 / 396.4 MB, free: 136 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001735/0.04088, allocations: 1.447 MB / 397.9 MB, free: 14.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.04093, allocations: 11.98 kB / 397.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006305/0.04156, allocations: 252 kB / 398.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009769/0.04253, allocations: 0.8369 MB / 398.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/0.04258, allocations: 61.98 kB / 399 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.04273, allocations: 95.94 kB / 399.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009364/0.04366, allocations: 0.7356 MB / 399.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.04369, allocations: 4 kB / 399.8 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.95e-05/0.04375, allocations: 35.98 kB / 399.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/0.04388, allocations: 69.89 kB / 399.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005687/0.04445, allocations: 363.6 kB / 400.3 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.04761, allocations: 3.645 MB / 403.9 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005528/0.04816, allocations: 360.4 kB / 404.3 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.04835, allocations: 152.8 kB / 404.4 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.04839, allocations: 12.5 kB / 404.5 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.04842, allocations: 45.89 kB / 404.5 MB, free: 7.688 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.194e-06/0.04842, allocations: 0 / 404.5 MB, free: 7.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002417/0.05083, allocations: 1.669 MB / 406.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.05089, allocations: 115.4 kB / 406.3 MB, free: 5.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.05142, allocations: 0.6641 MB / 406.9 MB, free: 5.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.05146, allocations: 41.7 kB / 407 MB, free: 5.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.05174, allocations: 0.5419 MB / 407.5 MB, free: 4.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.05187, allocations: 245.9 kB / 407.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.05202, allocations: 156.3 kB / 407.9 MB, free: 4.152 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.0522, allocations: 0.5742 MB / 408.5 MB, free: 3.566 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.05239, allocations: 121.9 kB / 408.6 MB, free: 3.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.05271, allocations: 451.2 kB / 409.1 MB, free: 2.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008073/0.05352, allocations: 0.763 MB / 409.8 MB, free: 1.996 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.05353, allocations: 4 kB / 409.8 MB, free: 1.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001186/0.05471, allocations: 0.8428 MB / 410.7 MB, free: 1.133 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.05474, allocations: 12.41 kB / 410.7 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.05475, allocations: 12 kB / 410.7 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007631/0.05552, allocations: 335 kB / 411 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.05586, allocations: 147.8 kB / 411.2 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004464/0.06032, allocations: 5.154 MB / 416.3 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.06072, allocations: 31.98 kB / 416.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.06077, allocations: 32 kB / 416.4 MB, free: 11.18 MB / 394.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.windGen.WT.turbine.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0003151/0.06108, allocations: 200.4 kB / 416.6 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.06121, allocations: 103.4 kB / 416.7 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008262/0.06204, allocations: 0.5779 MB / 417.3 MB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.06204, allocations: 8 kB / 417.3 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.06205, allocations: 7.938 kB / 417.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.06206, allocations: 7.984 kB / 417.3 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.06383, allocations: 1.394 MB / 418.7 MB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.06383, allocations: 3.938 kB / 418.7 MB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/0.06416, allocations: 115.9 kB / 418.8 MB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003496/0.06451, allocations: 151 kB / 418.9 MB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.467e-05/0.06457, allocations: 23.98 kB / 419 MB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003051/0.06762, allocations: 6.062 MB / 425 MB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.06762, allocations: 0 / 425 MB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.06864, allocations: 0.8811 MB / 425.9 MB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.06882, allocations: 135.3 kB / 426 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.06889, allocations: 28.17 kB / 426.1 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.06906, allocations: 23.98 kB / 426.1 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.06915, allocations: 48.34 kB / 426.1 MB, free: 0.8789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.06918, allocations: 23.98 kB / 426.2 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003547/0.06953, allocations: 407 kB / 426.6 MB, free: 472 kB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.06953, allocations: 0 / 426.6 MB, free: 472 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008188/0.07035, allocations: 255.9 kB / 426.8 MB, free: 216 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (windGen.generator.i[3],windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.genRotor.phi,windGen.WT.genRotor.w,windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2]) * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009847/0.07133, allocations: 475.5 kB / 427.3 MB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.0725, allocations: 0.9528 MB / 428.2 MB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.0725, allocations: 1.188 kB / 428.2 MB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005277/0.07303, allocations: 0.763 MB / 429 MB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.07356, allocations: 162.2 kB / 429.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.07651, allocations: 2.042 MB / 431.2 MB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.07673, allocations: 279.8 kB / 431.5 MB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003121/0.07704, allocations: 146.3 kB / 431.6 MB, free: 11.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.07715, allocations: 56.48 kB / 431.7 MB, free: 11.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/0.07715, allocations: 0 / 431.7 MB, free: 11.34 MB / 410.7 MB Notification: Performance of Templates: time 0.1646/0.2418, allocations: 12.64 MB / 444.3 MB, free: 94.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.697099702898413]