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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1788/0.1788, allocations: 38.54 MB / 344.5 MB, free: 2.566 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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003104/0.003104, allocations: 67.89 kB / 482.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3756, allocations: 61.24 MB / 0.5306 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.008236/0.3839, allocations: 7.8 MB / 0.5382 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009348/0.3932, allocations: 5.439 MB / 0.5435 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005948/0.3938, allocations: 25.88 kB / 0.5435 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0116/0.4054, allocations: 5.375 MB / 0.5488 GB, free: 8.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002113/0.4075, allocations: 0.6503 MB / 0.5494 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.4088, allocations: 451.8 kB / 0.5498 GB, free: 7.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003424/0.4122, allocations: 2.247 MB / 0.552 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.4134, allocations: 0.8867 MB / 0.5529 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.4144, allocations: 0.6462 MB / 0.5535 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.4155, allocations: 0.7863 MB / 0.5543 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.4156, allocations: 120 kB / 0.5544 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008441/0.4165, allocations: 407.5 kB / 0.5548 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005216/0.417, allocations: 0.5064 MB / 0.5553 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006495/0.4177, allocations: 0.5989 MB / 0.5559 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002172/0.4198, allocations: 1.713 MB / 0.5576 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.4198, allocations: 3.984 kB / 0.5576 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4198, allocations: 0 / 0.5576 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.4199, allocations: 0 / 0.5576 GB, free: 0.9219 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002849/0.4227, allocations: 1.457 MB / 0.559 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4227, allocations: 11.89 kB / 0.559 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007052/0.4235, allocations: 164.1 kB / 0.5592 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.4252, allocations: 0.9803 MB / 0.5601 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.343e-05/0.4253, allocations: 58 kB / 0.5602 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.4255, allocations: 87.94 kB / 0.5602 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.4272, allocations: 1.067 MB / 0.5613 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/0.4272, allocations: 11.94 kB / 0.5613 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-05/0.4273, allocations: 28 kB / 0.5613 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002156/0.4275, allocations: 69.95 kB / 0.5614 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.4289, allocations: 0.8353 MB / 0.5622 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005764/0.4347, allocations: 3.986 MB / 0.5661 GB, free: 7.855 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.4357, allocations: 0.5943 MB / 0.5667 GB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004614/0.4361, allocations: 295.2 kB / 0.567 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.521e-05/0.4362, allocations: 8.562 kB / 0.567 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.4362, allocations: 39.12 kB / 0.567 GB, free: 6.871 MB / 414.1 MB Notification: Performance of pre-optimization done (n=57): time 2.144e-06/0.4362, allocations: 4 kB / 0.567 GB, free: 6.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=65): time 0.004956/0.4412, allocations: 2.601 MB / 0.5696 GB, free: 4.172 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.4413, allocations: 111.4 kB / 0.5697 GB, free: 4.035 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009426/0.4422, allocations: 0.6996 MB / 0.5703 GB, free: 3.324 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/0.4423, allocations: 37.7 kB / 0.5704 GB, free: 3.281 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/0.4427, allocations: 488.2 kB / 0.5708 GB, free: 2.797 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.4429, allocations: 253.8 kB / 0.5711 GB, free: 2.547 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.4431, allocations: 150.6 kB / 0.5712 GB, free: 2.391 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.4433, allocations: 394.8 kB / 0.5716 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/0.4438, allocations: 305.8 kB / 0.5719 GB, free: 1.699 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006774/0.4445, allocations: 0.5111 MB / 0.5724 GB, free: 1.098 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003946/0.4485, allocations: 1.675 MB / 0.574 GB, free: 15.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.4485, allocations: 8 kB / 0.574 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002424/0.4509, allocations: 1.255 MB / 0.5753 GB, free: 14.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.4509, allocations: 11.94 kB / 0.5753 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.4509, allocations: 8.188 kB / 0.5753 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.4521, allocations: 405.3 kB / 0.5757 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.4526, allocations: 155.7 kB / 0.5758 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008219/0.4608, allocations: 6.243 MB / 0.5819 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/0.4614, allocations: 27.95 kB / 0.5819 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.4614, allocations: 39.98 kB / 0.582 GB, free: 6.871 MB / 430.1 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.0005882/0.462, allocations: 357.4 kB / 0.5823 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.4622, allocations: 83.48 kB / 0.5824 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.4639, allocations: 0.8956 MB / 0.5833 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.4639, allocations: 4 kB / 0.5833 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4639, allocations: 7.938 kB / 0.5833 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4639, allocations: 3.984 kB / 0.5833 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003381/0.4673, allocations: 2.018 MB / 0.5853 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.4673, allocations: 0 / 0.5853 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/0.4679, allocations: 111.9 kB / 0.5854 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005803/0.4685, allocations: 198.5 kB / 0.5856 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/0.4686, allocations: 20 kB / 0.5856 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005361/0.4739, allocations: 5.477 MB / 0.5909 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4739, allocations: 4.062 kB / 0.5909 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.4762, allocations: 1.271 MB / 0.5922 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003453/0.4765, allocations: 212.4 kB / 0.5924 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.4766, allocations: 23.98 kB / 0.5924 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.4769, allocations: 12 kB / 0.5924 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.4771, allocations: 60.42 kB / 0.5925 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/0.4771, allocations: 16 kB / 0.5925 GB, free: 11.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000748/0.4779, allocations: 499 kB / 0.593 GB, free: 11 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4779, allocations: 0 / 0.593 GB, free: 11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001069/0.4789, allocations: 251.9 kB / 0.5932 GB, free: 10.75 MB / 446.1 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.001444/0.4804, allocations: 417.6 kB / 0.5936 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.4826, allocations: 1.102 MB / 0.5947 GB, free: 9.352 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4826, allocations: 0 / 0.5947 GB, free: 9.352 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.4836, allocations: 0.7035 MB / 0.5954 GB, free: 8.609 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009024/0.4845, allocations: 186.6 kB / 0.5955 GB, free: 8.434 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/0.4887, allocations: 2.529 MB / 0.598 GB, free: 5.863 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009882/0.4896, allocations: 1.146 MB / 0.5991 GB, free: 4.688 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005099/0.4902, allocations: 170.6 kB / 0.5993 GB, free: 4.516 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.4903, allocations: 59.44 kB / 0.5993 GB, free: 4.457 MB / 446.1 MB Notification: Performance of SimCode: time 1.633e-06/0.4903, allocations: 3.938 kB / 0.5994 GB, free: 4.453 MB / 446.1 MB Notification: Performance of Templates: time 0.02456/0.5149, allocations: 13.11 MB / 0.6122 GB, free: 7.434 MB / 462.1 MB " [Timeout remaining time 659] 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: 5.6073637045919895]