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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001388, allocations: 109.5 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001361, allocations: 186.5 kB / 17.42 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.1 MB / 223.3 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.17/0.17, allocations: 37.99 MB / 308.6 MB, free: 6.219 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 68.28 kB / 374.7 MB, free: 3.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2048, allocations: 55.24 MB / 430 MB, free: 19.74 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.007732/0.2125, allocations: 9.055 MB / 439 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008841/0.2214, allocations: 5.956 MB / 445 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.2231, allocations: 55.69 kB / 445 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008682/0.2319, allocations: 5.084 MB / 450.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.2335, allocations: 0.5954 MB / 450.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009176/0.2344, allocations: 393.5 kB / 451.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0028/0.2372, allocations: 2.927 MB / 454 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.2383, allocations: 0.9566 MB / 455 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000703/0.2391, allocations: 0.5407 MB / 455.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008209/0.2399, allocations: 0.7513 MB / 456.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.24, allocations: 68 kB / 456.3 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006126/0.2406, allocations: 347.5 kB / 456.7 MB, free: 8.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003763/0.241, allocations: 458.7 kB / 457.1 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004725/0.2415, allocations: 0.548 MB / 457.7 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.2428, allocations: 1.659 MB / 459.3 MB, free: 6.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2428, allocations: 4 kB / 459.3 MB, free: 6.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.2428, allocations: 3.938 kB / 459.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.2429, allocations: 0 / 459.3 MB, free: 6.25 MB / 334.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.002501/0.2454, allocations: 1.417 MB / 460.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2454, allocations: 12.03 kB / 460.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.2456, allocations: 131.3 kB / 460.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000669/0.2463, allocations: 151.6 kB / 461.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.2478, allocations: 0.9442 MB / 462 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.2478, allocations: 61.98 kB / 462.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.248, allocations: 91.89 kB / 462.1 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.2495, allocations: 1.074 MB / 463.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.2495, allocations: 7.938 kB / 463.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-05/0.2496, allocations: 28 kB / 463.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000219/0.2498, allocations: 73.95 kB / 463.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.251, allocations: 0.8353 MB / 464.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004816/0.2559, allocations: 4.004 MB / 468.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009159/0.2568, allocations: 0.6254 MB / 468.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003971/0.2572, allocations: 319.3 kB / 469.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.637e-05/0.2573, allocations: 12.55 kB / 469.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.2573, allocations: 39.12 kB / 469.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=57): time 2.214e-06/0.2573, allocations: 0 / 469.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004267/0.2616, allocations: 2.582 MB / 471.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.2617, allocations: 111.5 kB / 471.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007978/0.2625, allocations: 0.7035 MB / 472.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.2625, allocations: 37.7 kB / 472.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.2628, allocations: 475.1 kB / 473.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.263, allocations: 240.6 kB / 473.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.2632, allocations: 146.6 kB / 473.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2634, allocations: 390.8 kB / 473.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/0.2638, allocations: 305.8 kB / 474.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.2644, allocations: 0.5189 MB / 474.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003611/0.268, allocations: 1.675 MB / 476.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.268, allocations: 0 / 476.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002306/0.2704, allocations: 1.278 MB / 477.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2704, allocations: 4 kB / 477.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.2704, allocations: 8 kB / 477.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.2714, allocations: 401.6 kB / 478 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.272, allocations: 147.7 kB / 478.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006539/0.2785, allocations: 5.74 MB / 483.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/0.2791, allocations: 24 kB / 483.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/0.2792, allocations: 39.98 kB / 483.9 MB, free: 12.61 MB / 366.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.0004966/0.2797, allocations: 365.4 kB / 484.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.2798, allocations: 82.97 kB / 484.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.2813, allocations: 0.8878 MB / 485.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.2813, allocations: 11.94 kB / 485.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2813, allocations: 4 kB / 485.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.2813, allocations: 3.984 kB / 485.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/0.2841, allocations: 2.002 MB / 487.3 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2841, allocations: 0 / 487.3 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005595/0.2847, allocations: 115.9 kB / 487.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005037/0.2852, allocations: 190.3 kB / 487.6 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.2852, allocations: 31.98 kB / 487.6 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003847/0.2891, allocations: 4.988 MB / 492.6 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.2891, allocations: 12.03 kB / 492.6 MB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.2909, allocations: 1.262 MB / 493.9 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.2911, allocations: 204 kB / 494.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.2912, allocations: 27.92 kB / 494.1 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.2916, allocations: 23.92 kB / 494.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.329e-05/0.2917, allocations: 52.62 kB / 494.2 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.2917, allocations: 23.98 kB / 494.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005423/0.2923, allocations: 495 kB / 494.7 MB, free: 1.258 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2923, allocations: 0 / 494.7 MB, free: 1.258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008876/0.2932, allocations: 259.9 kB / 494.9 MB, free: 1.004 MB / 366.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.002659/0.2958, allocations: 2.112 MB / 497 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.2975, allocations: 1.126 MB / 498.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2975, allocations: 5.188 kB / 498.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008352/0.2984, allocations: 0.7102 MB / 498.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008178/0.2992, allocations: 178.8 kB / 499.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.3116, allocations: 9.185 MB / 0.4963 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007451/0.3124, allocations: 1.146 MB / 0.4975 GB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005478/0.313, allocations: 162.7 kB / 0.4976 GB, free: 1.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004777/0.3135, allocations: 351.3 kB / 0.4979 GB, free: 1.578 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3135, allocations: 0 / 0.4979 GB, free: 1.578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1957/0.5092, allocations: 20.34 MB / 0.5178 GB, free: 85.77 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.5093, allocations: 288.5 kB / 0.5181 GB, free: 85.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/2.893, allocations: 3.609 kB / 0.5181 GB, free: 85.39 MB / 398.1 MB (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 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1)