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.0008106/0.0008105, allocations: 89.39 kB / 16.32 MB, free: 6.449 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.0008266/0.0008269, allocations: 176.6 kB / 17.21 MB, free: 6.32 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.431/1.431, allocations: 223.3 MB / 241.2 MB, free: 292 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1712/0.1712, allocations: 38.09 MB / 330.4 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004357, allocations: 8.812 kB / 400.2 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1379, allocations: 59.17 MB / 459.3 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01245/0.1504, allocations: 8.095 MB / 467.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.1615, allocations: 5.462 MB / 472.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.1633, allocations: 55.62 kB / 473 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01026/0.1736, allocations: 4.539 MB / 477.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.1763, allocations: 0.6687 MB / 478.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.1779, allocations: 394.8 kB / 478.5 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003974/0.1819, allocations: 2.479 MB / 481 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002071/0.184, allocations: 1.139 MB / 482.2 MB, free: 388 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.185, allocations: 0.5174 MB / 482.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.1861, allocations: 0.6891 MB / 483.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.1862, allocations: 48 kB / 483.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007332/0.187, allocations: 283.6 kB / 483.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004851/0.1875, allocations: 430.9 kB / 484.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002881/0.1878, allocations: 237.1 kB / 484.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.1894, allocations: 1.348 MB / 485.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.1894, allocations: 8 kB / 485.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1894, allocations: 0 / 485.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.1894, allocations: 0 / 485.7 MB, free: 12.82 MB / 366.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.002712/0.1921, allocations: 1.226 MB / 486.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.584e-05/0.1922, allocations: 12.03 kB / 486.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002329/0.1925, allocations: 127.1 kB / 487.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007473/0.1932, allocations: 158.6 kB / 487.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.1949, allocations: 0.9095 MB / 488.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.036e-05/0.195, allocations: 62 kB / 488.2 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.1952, allocations: 91.84 kB / 488.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.197, allocations: 1.059 MB / 489.3 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.1971, allocations: 11.91 kB / 489.3 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.971e-05/0.1971, allocations: 28 kB / 489.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001994/0.1973, allocations: 73.95 kB / 489.4 MB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.1987, allocations: 0.8275 MB / 490.3 MB, free: 8.105 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005639/0.2043, allocations: 4.024 MB / 494.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.2054, allocations: 0.6259 MB / 494.9 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/0.2059, allocations: 317.8 kB / 495.2 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.923e-05/0.206, allocations: 4.562 kB / 495.2 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.206, allocations: 43.08 kB / 495.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.945e-06/0.206, allocations: 0 / 495.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004641/0.2107, allocations: 2.595 MB / 497.9 MB, free: 180 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.2108, allocations: 123.2 kB / 498 MB, free: 32 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008248/0.2116, allocations: 0.688 MB / 498.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.2116, allocations: 37.7 kB / 498.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.212, allocations: 475.2 kB / 499.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.2122, allocations: 240.5 kB / 499.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.2122, allocations: 16 kB / 499.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.2124, allocations: 394.8 kB / 499.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/0.2129, allocations: 301.8 kB / 0.4884 GB, free: 13.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/0.2135, allocations: 0.511 MB / 0.4889 GB, free: 13.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002663/0.2162, allocations: 0.9206 MB / 0.4898 GB, free: 12.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.2162, allocations: 0 / 0.4898 GB, free: 12.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00223/0.2184, allocations: 1.263 MB / 0.491 GB, free: 11.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.2185, allocations: 8 kB / 0.491 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.2185, allocations: 8 kB / 0.491 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.2195, allocations: 409.5 kB / 0.4914 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/0.22, allocations: 155.7 kB / 0.4916 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007133/0.2272, allocations: 5.714 MB / 0.4972 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006251/0.2278, allocations: 39.83 kB / 0.4972 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.653e-05/0.2279, allocations: 36 kB / 0.4972 GB, free: 4.414 MB / 382.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.0006277/0.2285, allocations: 357.5 kB / 0.4976 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.2287, allocations: 79.06 kB / 0.4976 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.2304, allocations: 0.8956 MB / 0.4985 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.2304, allocations: 4 kB / 0.4985 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2304, allocations: 7.938 kB / 0.4985 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.2304, allocations: 3.984 kB / 0.4985 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/0.2336, allocations: 2.005 MB / 0.5005 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.2337, allocations: 4 kB / 0.5005 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/0.2342, allocations: 115.9 kB / 0.5006 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005042/0.2347, allocations: 194.5 kB / 0.5008 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.446e-05/0.2348, allocations: 19.98 kB / 0.5008 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2908/0.5256, allocations: 4.989 MB / 0.5057 GB, free: 51.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5256, allocations: 5.062 kB / 0.5057 GB, free: 51.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.5281, allocations: 1.264 MB / 0.5069 GB, free: 51.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003734/0.5285, allocations: 210.6 kB / 0.5071 GB, free: 51.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.5286, allocations: 22.72 kB / 0.5071 GB, free: 51.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.529, allocations: 19.48 kB / 0.5072 GB, free: 51.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.5291, allocations: 54.16 kB / 0.5072 GB, free: 51.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.5292, allocations: 19.59 kB / 0.5072 GB, free: 51.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009002/0.5301, allocations: 495.2 kB / 0.5077 GB, free: 51.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5301, allocations: 1.312 kB / 0.5077 GB, free: 51.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00143/0.5315, allocations: 246.1 kB / 0.5079 GB, free: 51.46 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.00361/0.5351, allocations: 2.118 MB / 0.51 GB, free: 50.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002733/0.5379, allocations: 1.133 MB / 0.5111 GB, free: 49.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.5379, allocations: 0 / 0.5111 GB, free: 49.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.5391, allocations: 0.7127 MB / 0.5118 GB, free: 49.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.5402, allocations: 171.5 kB / 0.512 GB, free: 49.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.5523, allocations: 6.755 MB / 0.5186 GB, free: 45.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009097/0.5532, allocations: 1.142 MB / 0.5197 GB, free: 44.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007091/0.554, allocations: 164.4 kB / 0.5198 GB, free: 44.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/0.5544, allocations: 354.8 kB / 0.5202 GB, free: 44.66 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.5544, allocations: 2.297 kB / 0.5202 GB, free: 44.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03735/0.5917, allocations: 20.26 MB / 0.54 GB, free: 30.86 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.592, allocations: 268.5 kB / 0.5402 GB, free: 30.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/2.884, allocations: 8 kB / 0.5402 GB, free: 30.5 MB / 382.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