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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_latest_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.0008606/0.0008608, allocations: 93.59 kB / 16.3 MB, free: 6.457 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.0009319/0.000932, allocations: 182.6 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2921/0.2921, allocations: 38.07 MB / 330.3 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003054, allocations: 8 kB / 400.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2623, allocations: 59.15 MB / 459.2 MB, free: 30.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.007234/0.2696, allocations: 7.703 MB / 466.9 MB, free: 24.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009495/0.2791, allocations: 5.419 MB / 472.3 MB, free: 20.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.2808, allocations: 49.47 kB / 472.4 MB, free: 20.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005999/0.2868, allocations: 1.824 MB / 474.2 MB, free: 20.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.2888, allocations: 0.5343 MB / 474.7 MB, free: 19.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.2901, allocations: 389 kB / 475.1 MB, free: 19.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.2915, allocations: 0.7736 MB / 475.9 MB, free: 19.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.2932, allocations: 1.155 MB / 477 MB, free: 18.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007411/0.294, allocations: 446.2 kB / 477.5 MB, free: 18.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006347/0.2946, allocations: 485.8 kB / 478 MB, free: 18.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.856e-05/0.2947, allocations: 48.72 kB / 478 MB, free: 18.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006253/0.2953, allocations: 271.2 kB / 478.3 MB, free: 18.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003162/0.2957, allocations: 396.9 kB / 478.7 MB, free: 17.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.2959, allocations: 231.6 kB / 478.9 MB, free: 17.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.2969, allocations: 1.349 MB / 480.2 MB, free: 16.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.297, allocations: 5 kB / 480.2 MB, free: 16.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.297, allocations: 4 kB / 480.2 MB, free: 16.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.297, allocations: 0 / 480.2 MB, free: 16.84 MB / 350.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.002094/0.2991, allocations: 1.222 MB / 481.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2991, allocations: 9.531 kB / 481.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.2993, allocations: 129 kB / 481.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006762/0.3, allocations: 167.8 kB / 481.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.3015, allocations: 0.9197 MB / 482.7 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.373e-05/0.3015, allocations: 57.81 kB / 482.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.3017, allocations: 104 kB / 482.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.3032, allocations: 1.046 MB / 483.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.3032, allocations: 5.375 kB / 483.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/0.3033, allocations: 31.28 kB / 483.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000207/0.3035, allocations: 69.42 kB / 484 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.3047, allocations: 0.8316 MB / 484.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004607/0.3093, allocations: 4.014 MB / 488.8 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007651/0.3101, allocations: 0.6279 MB / 489.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.3102, allocations: 8.625 kB / 489.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.3102, allocations: 43.08 kB / 489.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=57): time 2.455e-06/0.3102, allocations: 0 / 489.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.003735/0.3139, allocations: 2.58 MB / 492.1 MB, free: 6.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.314, allocations: 111.5 kB / 492.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/0.3147, allocations: 0.6956 MB / 492.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.3147, allocations: 37.7 kB / 492.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.3149, allocations: 483.1 kB / 493.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.3151, allocations: 240.6 kB / 493.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.3151, allocations: 12 kB / 493.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.3152, allocations: 394.8 kB / 494 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/0.3156, allocations: 301.8 kB / 494.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/0.316, allocations: 0.511 MB / 494.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/0.3183, allocations: 0.9206 MB / 495.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3184, allocations: 0 / 495.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001752/0.3201, allocations: 1.263 MB / 497 MB, free: 1.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3202, allocations: 8 kB / 497 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.3202, allocations: 8 kB / 497 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008924/0.3211, allocations: 409.5 kB / 497.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/0.3215, allocations: 155.7 kB / 497.6 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007149/0.3287, allocations: 5.873 MB / 0.4917 GB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/0.3294, allocations: 27.98 kB / 0.4917 GB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.3294, allocations: 32 kB / 0.4917 GB, free: 10.7 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 sytem: $DER.windGen.WT.gear.w = $DER.windGen.WT.genRotor.w. 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0006979/0.3301, allocations: 353.5 kB / 0.4921 GB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.3303, allocations: 90.84 kB / 0.4922 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.3319, allocations: 0.8917 MB / 0.493 GB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.332, allocations: 8 kB / 0.493 GB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.332, allocations: 11.98 kB / 0.493 GB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.332, allocations: 3.938 kB / 0.493 GB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003265/0.3353, allocations: 2.005 MB / 0.495 GB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3353, allocations: 4.156 kB / 0.495 GB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005834/0.3359, allocations: 119.9 kB / 0.4951 GB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005114/0.3364, allocations: 190.3 kB / 0.4953 GB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.3365, allocations: 23.98 kB / 0.4953 GB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004491/0.341, allocations: 5.047 MB / 0.5003 GB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.341, allocations: 4.438 kB / 0.5003 GB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.3429, allocations: 1.331 MB / 0.5016 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004485/0.3434, allocations: 208.1 kB / 0.5018 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.3435, allocations: 23.98 kB / 0.5018 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.3438, allocations: 19.97 kB / 0.5018 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.316e-05/0.344, allocations: 52.44 kB / 0.5018 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/0.3441, allocations: 19.95 kB / 0.5019 GB, free: 15.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007552/0.3449, allocations: 495 kB / 0.5023 GB, free: 15.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3449, allocations: 0 / 0.5023 GB, free: 15.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001008/0.3459, allocations: 256 kB / 0.5026 GB, free: 14.93 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003331/0.3492, allocations: 2.597 MB / 0.5051 GB, free: 12.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002023/0.3513, allocations: 1.138 MB / 0.5062 GB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3513, allocations: 0 / 0.5062 GB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009411/0.3522, allocations: 0.7139 MB / 0.5069 GB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000842/0.3531, allocations: 164 kB / 0.5071 GB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.3643, allocations: 10.75 MB / 0.5176 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009191/0.3652, allocations: 1.161 MB / 0.5187 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006107/0.3659, allocations: 162.6 kB / 0.5189 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/0.3663, allocations: 351.3 kB / 0.5192 GB, free: 13.61 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3663, allocations: 0 / 0.5192 GB, free: 13.61 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.038/0.4044, allocations: 20.23 MB / 0.539 GB, free: 9.629 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/0.4047, allocations: 270.2 kB / 0.5392 GB, free: 9.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.427, allocations: 0 / 0.5392 GB, free: 9.273 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_res.mat does not exist to compare? outputFormat=mat