Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.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.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest",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.0008657/0.0008691, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.0009202/0.0009202, allocations: 178.4 kB / 17.2 MB, free: 5.914 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.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3074/0.3074, allocations: 38.08 MB / 330.3 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002711/0.0002711, allocations: 8 kB / 400 MB, free: 9.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2534, allocations: 59.17 MB / 459.2 MB, free: 30.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002374/0.2558, allocations: 2.072 MB / 461.3 MB, free: 29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004485/0.2563, allocations: 411.7 kB / 461.7 MB, free: 28.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.2564, allocations: 5.406 kB / 461.7 MB, free: 28.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.2564, allocations: 7.562 kB / 461.7 MB, free: 28.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.2566, allocations: 27.95 kB / 461.7 MB, free: 28.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.321e-05/0.2567, allocations: 21.83 kB / 461.8 MB, free: 28.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.2568, allocations: 61.61 kB / 461.8 MB, free: 28.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.2569, allocations: 18.69 kB / 461.8 MB, free: 28.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.257, allocations: 42.48 kB / 461.9 MB, free: 28.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.245e-05/0.2571, allocations: 43.8 kB / 461.9 MB, free: 28.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.2572, allocations: 3.969 kB / 461.9 MB, free: 28.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.762e-05/0.2572, allocations: 4.406 kB / 461.9 MB, free: 28.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.2572, allocations: 14.78 kB / 461.9 MB, free: 28.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.2572, allocations: 40.17 kB / 462 MB, free: 28.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.2573, allocations: 63.23 kB / 462 MB, free: 28.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.2573, allocations: 0 / 462 MB, free: 28.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2574, allocations: 0 / 462 MB, free: 28.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.2574, allocations: 1.438 kB / 462 MB, free: 28.54 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000512/0.2579, allocations: 407.9 kB / 462.4 MB, free: 28.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2579, allocations: 10.83 kB / 462.5 MB, free: 28.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.258, allocations: 36.94 kB / 462.5 MB, free: 28.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.258, allocations: 10.19 kB / 462.5 MB, free: 28.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.2582, allocations: 184.1 kB / 462.7 MB, free: 27.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2582, allocations: 6.938 kB / 462.7 MB, free: 27.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.2582, allocations: 12.52 kB / 462.7 MB, free: 27.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.2584, allocations: 94.56 kB / 462.8 MB, free: 27.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2585, allocations: 0.5625 kB / 462.8 MB, free: 27.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.2585, allocations: 5.219 kB / 462.8 MB, free: 27.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2585, allocations: 1.25 kB / 462.8 MB, free: 27.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.2587, allocations: 82 kB / 462.9 MB, free: 27.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007155/0.2595, allocations: 471.1 kB / 463.3 MB, free: 27.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.2598, allocations: 96.94 kB / 463.4 MB, free: 27.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.2598, allocations: 1.125 kB / 463.4 MB, free: 27.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.2598, allocations: 32.92 kB / 463.5 MB, free: 27.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.2598, allocations: 0 / 463.5 MB, free: 27.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004258/0.2602, allocations: 157.6 kB / 463.6 MB, free: 27.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.2603, allocations: 52.97 kB / 463.7 MB, free: 27.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/0.2604, allocations: 153.6 kB / 463.8 MB, free: 27.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.2604, allocations: 33.64 kB / 463.9 MB, free: 27.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.2604, allocations: 104.5 kB / 464 MB, free: 26.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.2605, allocations: 25.14 kB / 464 MB, free: 26.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.2605, allocations: 0 / 464 MB, free: 26.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.229e-05/0.2605, allocations: 320.2 kB / 464.3 MB, free: 26.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.2606, allocations: 41.14 kB / 464.3 MB, free: 26.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.2608, allocations: 68.81 kB / 464.4 MB, free: 26.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.2609, allocations: 49.66 kB / 464.4 MB, free: 26.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2609, allocations: 1.5 kB / 464.4 MB, free: 26.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000281/0.2612, allocations: 135.3 kB / 464.6 MB, free: 26.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.2612, allocations: 6.219 kB / 464.6 MB, free: 26.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2612, allocations: 5.891 kB / 464.6 MB, free: 26.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2612, allocations: 1.469 kB / 464.6 MB, free: 26.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.2614, allocations: 27.92 kB / 464.6 MB, free: 26.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2614, allocations: 10.69 kB / 464.6 MB, free: 26.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.2615, allocations: 14.28 kB / 464.6 MB, free: 26.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.2615, allocations: 3.703 kB / 464.6 MB, free: 26.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.2616, allocations: 122.7 kB / 464.8 MB, free: 26.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.2616, allocations: 8.031 kB / 464.8 MB, free: 26.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.262, allocations: 131.7 kB / 464.9 MB, free: 26.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.262, allocations: 1.125 kB / 464.9 MB, free: 26.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.262, allocations: 5.156 kB / 464.9 MB, free: 26.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.262, allocations: 8.656 kB / 464.9 MB, free: 26.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.2622, allocations: 209 kB / 465.1 MB, free: 26.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2622, allocations: 0 / 465.1 MB, free: 26.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.2624, allocations: 27.31 kB / 465.2 MB, free: 26.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2624, allocations: 0 / 465.2 MB, free: 26.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.2624, allocations: 1.75 kB / 465.2 MB, free: 26.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.2624, allocations: 1.625 kB / 465.2 MB, free: 26.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2624, allocations: 4 kB / 465.2 MB, free: 26.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.2628, allocations: 281 kB / 465.4 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.2629, allocations: 87.89 kB / 465.5 MB, free: 25.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.2629, allocations: 10.06 kB / 465.5 MB, free: 25.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.263, allocations: 8.938 kB / 465.5 MB, free: 25.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.2631, allocations: 5.109 kB / 465.5 MB, free: 25.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.2631, allocations: 10.25 kB / 465.6 MB, free: 25.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.128e-05/0.2631, allocations: 115.5 kB / 465.7 MB, free: 25.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2632, allocations: 0 / 465.7 MB, free: 25.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.2634, allocations: 17.25 kB / 465.7 MB, free: 25.62 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005285/0.2639, allocations: 0.7951 MB / 466.5 MB, free: 24.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.2642, allocations: 91.23 kB / 466.6 MB, free: 24.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.2642, allocations: 0 / 466.6 MB, free: 24.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.2643, allocations: 54.86 kB / 466.6 MB, free: 24.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.2645, allocations: 7.125 kB / 466.6 MB, free: 24.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.2659, allocations: 1.319 MB / 467.9 MB, free: 23.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.266, allocations: 0.7074 MB / 468.7 MB, free: 23.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.304e-05/0.2661, allocations: 6.641 kB / 468.7 MB, free: 23.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.944e-05/0.2661, allocations: 26.33 kB / 468.7 MB, free: 23.12 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2662, allocations: 4 kB / 468.7 MB, free: 23.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01199/0.2782, allocations: 2.044 MB / 470.7 MB, free: 22.91 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001321/0.2783, allocations: 176 kB / 470.9 MB, free: 22.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/1.894, allocations: 0 / 470.9 MB, free: 22.67 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.mat does not exist to compare? outputFormat=mat