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.0008016/0.0008016, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00369/0.00369, allocations: 160.6 kB / 24.7 MB, free: 9.43 MB / 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.8445/0.8445, allocations: 177.1 MB / 205 MB, free: 5.75 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.2099/0.2099, allocations: 29.4 MB / 290.8 MB, free: 2.426 MB / 266.7 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.WindGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.|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.1.|sensor.p.2.|sensor.p.3.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.391e-05/3.611e-05, allocations: 2.281 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.008556/0.008592, allocations: 7.217 MB / 438.7 MB, free: 5.832 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008158/0.01675, allocations: 5.11 MB / 443.8 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005919/0.01734, allocations: 35.75 kB / 443.8 MB, free: 0.668 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1929/0.2102, allocations: 5.73 MB / 449.6 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.2117, allocations: 0.7027 MB / 450.3 MB, free: 43.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008393/0.2125, allocations: 478.3 kB / 450.7 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001551/0.214, allocations: 2.344 MB / 453.1 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007712/0.2148, allocations: 0.9797 MB / 454.1 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007163/0.2155, allocations: 0.9002 MB / 455 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005895/0.2161, allocations: 0.695 MB / 455.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.627e-05/0.2162, allocations: 119 kB / 455.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000461/0.2167, allocations: 446.4 kB / 456.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.2169, allocations: 0.5226 MB / 456.7 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.2172, allocations: 424.9 kB / 457.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.2183, allocations: 1.802 MB / 458.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2183, allocations: 3.406 kB / 459 MB, free: 41.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2183, allocations: 0 / 459 MB, free: 41.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.2183, allocations: 0 / 459 MB, free: 41.98 MB / 410.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.001479/0.2198, allocations: 1.397 MB / 460.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.2198, allocations: 12.83 kB / 460.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004388/0.2203, allocations: 175.9 kB / 460.5 MB, free: 41.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009796/0.2213, allocations: 0.8995 MB / 461.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.2213, allocations: 59.94 kB / 461.5 MB, free: 40.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.2214, allocations: 96.31 kB / 461.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009507/0.2224, allocations: 1.094 MB / 462.7 MB, free: 39.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.2224, allocations: 6.156 kB / 462.7 MB, free: 39.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.2224, allocations: 28.56 kB / 462.7 MB, free: 39.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.2225, allocations: 78.91 kB / 462.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007745/0.2233, allocations: 0.8345 MB / 463.6 MB, free: 39.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.226, allocations: 3.504 MB / 467.1 MB, free: 37.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/0.2266, allocations: 0.5123 MB / 467.6 MB, free: 37.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.2268, allocations: 288.7 kB / 467.9 MB, free: 37.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.2268, allocations: 6.875 kB / 467.9 MB, free: 37.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.2269, allocations: 41.47 kB / 468 MB, free: 37.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=57): time 1.763e-06/0.2269, allocations: 0 / 468 MB, free: 37.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.002473/0.2293, allocations: 2.372 MB / 470.3 MB, free: 35.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.2294, allocations: 112.5 kB / 470.5 MB, free: 35.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.2298, allocations: 0.6841 MB / 471.1 MB, free: 35.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.2298, allocations: 40.98 kB / 471.2 MB, free: 35.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.23, allocations: 492.7 kB / 471.7 MB, free: 35.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.932e-05/0.2301, allocations: 245.3 kB / 471.9 MB, free: 34.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.2302, allocations: 155.9 kB / 472 MB, free: 34.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.2303, allocations: 400.8 kB / 472.4 MB, free: 34.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.2306, allocations: 303.3 kB / 472.7 MB, free: 34.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.2309, allocations: 0.546 MB / 473.3 MB, free: 33.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/0.2328, allocations: 1.604 MB / 474.9 MB, free: 33.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2328, allocations: 0 / 474.9 MB, free: 33.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001176/0.234, allocations: 1.251 MB / 476.1 MB, free: 32.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.234, allocations: 10.38 kB / 476.1 MB, free: 32.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.234, allocations: 9.094 kB / 476.2 MB, free: 32.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/0.2346, allocations: 395.3 kB / 476.5 MB, free: 32.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.2349, allocations: 151.7 kB / 476.7 MB, free: 32.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004051/0.2389, allocations: 5.818 MB / 482.5 MB, free: 28.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.2391, allocations: 35.5 kB / 482.5 MB, free: 28.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.2392, allocations: 30 kB / 482.6 MB, free: 28.7 MB / 410.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.000302/0.2395, allocations: 359.9 kB / 482.9 MB, free: 28.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/0.2396, allocations: 88.95 kB / 483 MB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009795/0.2405, allocations: 0.8916 MB / 483.9 MB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.2405, allocations: 10.19 kB / 483.9 MB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2406, allocations: 2.344 kB / 483.9 MB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.2406, allocations: 4.578 kB / 483.9 MB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.2424, allocations: 1.684 MB / 485.6 MB, free: 27.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2424, allocations: 2.438 kB / 485.6 MB, free: 27.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.2427, allocations: 115.7 kB / 485.7 MB, free: 27.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002809/0.243, allocations: 194.8 kB / 485.9 MB, free: 27.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/0.243, allocations: 20.62 kB / 485.9 MB, free: 27.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/0.2452, allocations: 5.073 MB / 491 MB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2452, allocations: 4.391 kB / 491 MB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.2465, allocations: 1.263 MB / 492.3 MB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.2467, allocations: 132.4 kB / 492.4 MB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.2467, allocations: 31 kB / 492.4 MB, free: 22.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.2469, allocations: 17.58 kB / 492.4 MB, free: 22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/0.247, allocations: 46.58 kB / 492.5 MB, free: 22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.247, allocations: 23.05 kB / 492.5 MB, free: 21.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000438/0.2474, allocations: 484.6 kB / 493 MB, free: 21.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2474, allocations: 0 / 493 MB, free: 21.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007107/0.2482, allocations: 264.2 kB / 493.2 MB, free: 21.75 MB / 410.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.0008931/0.249, allocations: 0.4976 MB / 493.7 MB, free: 21.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.2504, allocations: 1.103 MB / 494.8 MB, free: 21.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2504, allocations: 0 / 494.8 MB, free: 21.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005512/0.2509, allocations: 0.6958 MB / 495.5 MB, free: 20.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.2515, allocations: 176.5 kB / 495.7 MB, free: 20.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.254, allocations: 2.352 MB / 498.1 MB, free: 19.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.2546, allocations: 0.543 MB / 498.6 MB, free: 19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.2547, allocations: 62.12 kB / 498.7 MB, free: 19 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.2547, allocations: 1.719 kB / 498.7 MB, free: 19 MB / 410.7 MB Notification: Performance of Templates: time 0.01846/0.2732, allocations: 23.58 MB / 0.51 GB, free: 5.703 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.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: 6.602368954569101]