Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.0007734/0.0007734, allocations: 88.33 kB / 20.96 MB, free: 3.469 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.0007959/0.0007959, allocations: 161.3 kB / 24.27 MB, free: 164 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 0.8316/0.8316, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2166/0.2166, allocations: 29.42 MB / 290.5 MB, free: 2.438 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 368.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209e-05/1.343e-05, allocations: 2.312 kB / 368.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.006272/0.006286, allocations: 7.239 MB / 375.6 MB, free: 4.504 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005826/0.01211, allocations: 5.09 MB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004144/0.01253, allocations: 35.75 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007194/0.01972, allocations: 5.819 MB / 386.6 MB, free: 9.527 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.02081, allocations: 0.7032 MB / 387.3 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007517/0.02157, allocations: 478.8 kB / 387.8 MB, free: 8.352 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001952/0.02352, allocations: 2.346 MB / 390.1 MB, free: 6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009607/0.02448, allocations: 0.9987 MB / 391.1 MB, free: 4.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009518/0.02543, allocations: 0.9001 MB / 392 MB, free: 4.078 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.02657, allocations: 0.7006 MB / 392.7 MB, free: 3.379 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.02673, allocations: 120 kB / 392.8 MB, free: 3.262 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006435/0.02737, allocations: 447.3 kB / 393.3 MB, free: 2.824 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003382/0.02771, allocations: 0.5221 MB / 393.8 MB, free: 2.301 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003413/0.02805, allocations: 427 kB / 394.2 MB, free: 1.883 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.02957, allocations: 1.803 MB / 396 MB, free: 76 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.02957, allocations: 0 / 396 MB, free: 76 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.02958, allocations: 0 / 396 MB, free: 76 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.0296, allocations: 0 / 396 MB, free: 76 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.001815/0.03141, allocations: 1.399 MB / 397.4 MB, free: 14.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.03145, allocations: 11.98 kB / 397.4 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.03157, allocations: 131.3 kB / 397.5 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005847/0.03215, allocations: 252 kB / 397.8 MB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.03327, allocations: 0.951 MB / 398.7 MB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.03331, allocations: 65.92 kB / 398.8 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.03345, allocations: 91.92 kB / 398.9 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.03475, allocations: 1.084 MB / 400 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.03477, allocations: 15.92 kB / 400 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.165e-05/0.03482, allocations: 27.98 kB / 400 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.03494, allocations: 73.95 kB / 400.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008959/0.03584, allocations: 0.8314 MB / 400.9 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003234/0.03907, allocations: 3.644 MB / 404.6 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006447/0.03971, allocations: 0.5189 MB / 405.1 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.04001, allocations: 287.1 kB / 405.4 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.04005, allocations: 12.5 kB / 405.4 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.04007, allocations: 46.94 kB / 405.4 MB, free: 6.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.014e-06/0.04008, allocations: 0 / 405.4 MB, free: 6.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.003092/0.04317, allocations: 2.398 MB / 407.8 MB, free: 3.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.04322, allocations: 107.8 kB / 407.9 MB, free: 3.758 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005775/0.0438, allocations: 0.7269 MB / 408.6 MB, free: 3.027 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.04383, allocations: 33.7 kB / 408.7 MB, free: 2.988 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.04406, allocations: 492.2 kB / 409.2 MB, free: 2.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.04419, allocations: 245.9 kB / 409.4 MB, free: 2.258 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.04433, allocations: 150.6 kB / 409.5 MB, free: 2.102 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.04445, allocations: 402.8 kB / 409.9 MB, free: 1.699 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.04477, allocations: 305.8 kB / 410.2 MB, free: 1.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.04519, allocations: 0.5361 MB / 410.8 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.04734, allocations: 1.604 MB / 412.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.04734, allocations: 4 kB / 412.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001619/0.04896, allocations: 1.294 MB / 413.7 MB, free: 13.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.04898, allocations: 8.438 kB / 413.7 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.04899, allocations: 8 kB / 413.7 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007408/0.04973, allocations: 461.2 kB / 414.1 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.05002, allocations: 151.8 kB / 414.3 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004595/0.05461, allocations: 5.888 MB / 420.2 MB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.05485, allocations: 35.92 kB / 420.2 MB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.05489, allocations: 32 kB / 420.2 MB, free: 6.973 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.0005602/0.05546, allocations: 353.5 kB / 420.6 MB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.05556, allocations: 107.4 kB / 420.7 MB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009641/0.05652, allocations: 0.8978 MB / 421.6 MB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.05652, allocations: 4 kB / 421.6 MB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.05653, allocations: 4 kB / 421.6 MB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.05654, allocations: 3.984 kB / 421.6 MB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.05837, allocations: 1.802 MB / 423.4 MB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.05838, allocations: 7.938 kB / 423.4 MB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.05869, allocations: 119.8 kB / 423.5 MB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003208/0.05901, allocations: 198.5 kB / 423.7 MB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.05905, allocations: 23.98 kB / 423.8 MB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003043/0.06209, allocations: 5.162 MB / 428.9 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.06209, allocations: 4.031 kB / 428.9 MB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.06336, allocations: 1.285 MB / 430.2 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.06354, allocations: 135.4 kB / 430.3 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.0636, allocations: 23.94 kB / 430.4 MB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.06378, allocations: 20.05 kB / 430.4 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/0.06386, allocations: 56.34 kB / 430.4 MB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.06389, allocations: 19.98 kB / 430.5 MB, free: 12.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003921/0.06428, allocations: 0.4951 MB / 430.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06428, allocations: 4 kB / 431 MB, free: 11.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006109/0.06489, allocations: 255.9 kB / 431.2 MB, free: 11.52 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.002044/0.06694, allocations: 2.233 MB / 433.4 MB, free: 9.438 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.06815, allocations: 1.109 MB / 434.5 MB, free: 8.305 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.06815, allocations: 0 / 434.5 MB, free: 8.305 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007893/0.06894, allocations: 0.6909 MB / 435.2 MB, free: 7.578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.06947, allocations: 184 kB / 435.4 MB, free: 7.398 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1215/0.1909, allocations: 8.466 MB / 443.9 MB, free: 107.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.1913, allocations: 0.5446 MB / 444.4 MB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004175/0.1917, allocations: 164.1 kB / 444.6 MB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/0.192, allocations: 357.6 kB / 444.9 MB, free: 107.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.192, allocations: 0 / 444.9 MB, free: 107.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.2254, allocations: 23.1 MB / 468 MB, free: 104.3 MB / 410.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.08, allocations: 12.92 kB / 468 MB, free: 104.3 MB / 410.7 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_OMSimulator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_OMSimulator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_OMSimulator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine_OMSimulator_fmu --startTime=0 --stopTime=60 --stepSize=0.06 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_fmpy.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_fmpy.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_fmpy.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_fmpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.218736089009326]