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.0008391/0.0008391, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.0008093/0.0008093, allocations: 170 kB / 23.95 MB, free: 0.6016 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.9084/0.9084, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.2412/0.2412, allocations: 29.4 MB / 290.1 MB, free: 2.441 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 3.026e-06/3.026e-06, allocations: 4 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.252e-05, allocations: 2.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.007109/0.007131, allocations: 7.219 MB / 437.4 MB, free: 6.355 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00687/0.014, allocations: 5.106 MB / 442.5 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007538/0.01475, allocations: 31.75 kB / 442.6 MB, free: 1.199 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1931/0.2079, allocations: 5.741 MB / 448.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.2094, allocations: 0.7063 MB / 449 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000965/0.2103, allocations: 477.8 kB / 449.5 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002141/0.2125, allocations: 2.336 MB / 451.8 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008861/0.2134, allocations: 0.9771 MB / 452.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009019/0.2143, allocations: 0.9012 MB / 453.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006491/0.2149, allocations: 0.6912 MB / 454.4 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.215, allocations: 120.7 kB / 454.5 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005954/0.2156, allocations: 450.7 kB / 455 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002811/0.2159, allocations: 0.5212 MB / 455.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.2162, allocations: 419.3 kB / 455.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.2175, allocations: 1.801 MB / 457.7 MB, free: 41.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2175, allocations: 3.281 kB / 457.7 MB, free: 41.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.2175, allocations: 1.5 kB / 457.7 MB, free: 41.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.2175, allocations: 0 / 457.7 MB, free: 41.72 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.001701/0.2192, allocations: 1.398 MB / 459.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2193, allocations: 13.67 kB / 459.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.2194, allocations: 130.4 kB / 459.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.2198, allocations: 184.2 kB / 459.4 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.2209, allocations: 0.9005 MB / 460.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.2209, allocations: 61.61 kB / 460.4 MB, free: 40.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.221, allocations: 94.05 kB / 460.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.222, allocations: 1.098 MB / 461.6 MB, free: 39.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.2221, allocations: 10.44 kB / 461.6 MB, free: 39.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.2221, allocations: 27.64 kB / 461.6 MB, free: 39.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/0.2222, allocations: 76.34 kB / 461.7 MB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000833/0.2231, allocations: 0.8284 MB / 462.5 MB, free: 39.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.2263, allocations: 3.624 MB / 466.1 MB, free: 37.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006397/0.227, allocations: 0.5096 MB / 466.6 MB, free: 36.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.2272, allocations: 291.8 kB / 466.9 MB, free: 36.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.2272, allocations: 10.69 kB / 466.9 MB, free: 36.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.2273, allocations: 38.28 kB / 467 MB, free: 36.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=57): time 3.086e-06/0.2273, allocations: 3.562 kB / 467 MB, free: 36.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.002812/0.2301, allocations: 2.373 MB / 469.3 MB, free: 35.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.2301, allocations: 113.1 kB / 469.4 MB, free: 35.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006037/0.2307, allocations: 0.7252 MB / 470.2 MB, free: 35.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.2308, allocations: 41.16 kB / 470.2 MB, free: 35.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.231, allocations: 494.4 kB / 470.7 MB, free: 34.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.2311, allocations: 250.4 kB / 470.9 MB, free: 34.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.2312, allocations: 151.7 kB / 471.1 MB, free: 34.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.2313, allocations: 397.8 kB / 471.5 MB, free: 34.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.2316, allocations: 302.9 kB / 471.8 MB, free: 33.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/0.2319, allocations: 0.5431 MB / 472.3 MB, free: 33.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/0.2339, allocations: 1.599 MB / 473.9 MB, free: 32.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.2339, allocations: 3.062 kB / 473.9 MB, free: 32.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001298/0.2352, allocations: 1.263 MB / 475.2 MB, free: 32.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.2352, allocations: 11.22 kB / 475.2 MB, free: 32.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.2352, allocations: 6.219 kB / 475.2 MB, free: 32.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/0.2358, allocations: 399.3 kB / 475.6 MB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.2361, allocations: 146.9 kB / 475.7 MB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004284/0.2404, allocations: 5.862 MB / 481.6 MB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005424/0.2409, allocations: 27.94 kB / 481.6 MB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-05/0.241, allocations: 40.59 kB / 481.7 MB, free: 28.21 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.0005346/0.2415, allocations: 359.3 kB / 482 MB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.2416, allocations: 85.16 kB / 482.1 MB, free: 27.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.2428, allocations: 0.8895 MB / 483 MB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.2428, allocations: 13.34 kB / 483 MB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2428, allocations: 3.719 kB / 483 MB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.2428, allocations: 3.375 kB / 483 MB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.2451, allocations: 1.79 MB / 484.8 MB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.2451, allocations: 2.906 kB / 484.8 MB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/0.2454, allocations: 119.2 kB / 484.9 MB, free: 26.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003178/0.2458, allocations: 187.1 kB / 485.1 MB, free: 26.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/0.2458, allocations: 31.41 kB / 485.1 MB, free: 26.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.248, allocations: 5.141 MB / 490.3 MB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.248, allocations: 6.875 kB / 490.3 MB, free: 22.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.2494, allocations: 1.271 MB / 491.5 MB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.2497, allocations: 127.7 kB / 491.7 MB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.2497, allocations: 22.97 kB / 491.7 MB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.2499, allocations: 16.98 kB / 491.7 MB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.25, allocations: 54.39 kB / 491.8 MB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.2501, allocations: 20.95 kB / 491.8 MB, free: 21.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005365/0.2506, allocations: 0.4999 MB / 492.3 MB, free: 21.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2506, allocations: 0 / 492.3 MB, free: 21.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008733/0.2515, allocations: 265 kB / 492.5 MB, free: 21.09 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.002053/0.2535, allocations: 2.219 MB / 494.8 MB, free: 19.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.2549, allocations: 1.101 MB / 495.9 MB, free: 19.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2549, allocations: 384 / 495.9 MB, free: 19.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.2555, allocations: 0.6973 MB / 496.6 MB, free: 18.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.2561, allocations: 184.9 kB / 496.7 MB, free: 18.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00935/0.2655, allocations: 8.399 MB / 0.4933 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/0.2661, allocations: 0.5532 MB / 0.4938 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004426/0.2665, allocations: 156.1 kB / 0.494 GB, free: 14.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.2668, allocations: 361.6 kB / 0.4943 GB, free: 13.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2668, allocations: 0 / 0.4943 GB, free: 13.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0405/0.3073, allocations: 22.81 MB / 0.5166 GB, free: 13.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/8.582, allocations: 2.922 kB / 0.5166 GB, free: 13.84 MB / 426.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.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_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.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.643478694371879] Failed to read output from testmodel.py, exit status != 0: 8.698971805162728 8.71182743 8.491545175 Calling exit ...