Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) 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.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_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_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.001285/0.001285, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001019/0.001019, allocations: 190 kB / 17.54 MB, free: 6.066 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.229/1.229, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.163/0.163, allocations: 38.02 MB / 329.4 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.86 kB / 398.4 MB, free: 34.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07826/0.07946, allocations: 58.07 MB / 456.5 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003602/0.08309, allocations: 2.479 MB / 458.9 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005539/0.08367, allocations: 435 kB / 459.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.608e-05/0.08375, allocations: 0 / 459.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.706e-05/0.08385, allocations: 3.938 kB / 459.4 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.08399, allocations: 35.77 kB / 459.4 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.02e-05/0.08409, allocations: 23.97 kB / 459.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.08423, allocations: 95.59 kB / 459.5 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.08433, allocations: 19.98 kB / 459.5 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.08444, allocations: 39.86 kB / 459.6 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.964e-05/0.08453, allocations: 47.81 kB / 459.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.08456, allocations: 12 kB / 459.6 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.629e-05/0.08458, allocations: 4 kB / 459.6 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.434e-05/0.08461, allocations: 27.84 kB / 459.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.08466, allocations: 47.73 kB / 459.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.08478, allocations: 87.97 kB / 459.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.08479, allocations: 0 / 459.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.0848, allocations: 0 / 459.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.862e-06/0.08481, allocations: 7.922 kB / 459.8 MB, free: 4.918 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005989/0.08541, allocations: 415.1 kB / 460.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.08545, allocations: 11.89 kB / 460.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.08549, allocations: 38.75 kB / 460.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.08553, allocations: 8.844 kB / 460.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.0857, allocations: 194.9 kB / 460.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.08572, allocations: 8.375 kB / 460.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.08575, allocations: 7.938 kB / 460.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.08599, allocations: 101.5 kB / 460.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.08601, allocations: 0 / 460.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.08603, allocations: 0 / 460.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.08604, allocations: 4 kB / 460.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000227/0.08627, allocations: 67.94 kB / 460.6 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.08702, allocations: 473.2 kB / 461.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.08733, allocations: 86.67 kB / 461.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.08745, allocations: 36.83 kB / 461.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.08748, allocations: 4 kB / 461.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.0875, allocations: 38.56 kB / 461.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.08751, allocations: 0 / 461.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004086/0.08792, allocations: 145.5 kB / 461.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.08796, allocations: 51.41 kB / 461.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.916e-05/0.08807, allocations: 133.8 kB / 461.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.08809, allocations: 29.7 kB / 461.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.08815, allocations: 111.9 kB / 461.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.08818, allocations: 19.8 kB / 461.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.08823, allocations: 25.7 kB / 461.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.08833, allocations: 322.8 kB / 462.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.08845, allocations: 27.98 kB / 462.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.08858, allocations: 67.34 kB / 462.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.0888, allocations: 91.39 kB / 462.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.08881, allocations: 0 / 462.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002899/0.08911, allocations: 137.4 kB / 462.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.08913, allocations: 8 kB / 462.4 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.08914, allocations: 0 / 462.4 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.08915, allocations: 3.938 kB / 462.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.08931, allocations: 23.98 kB / 462.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.08933, allocations: 4.188 kB / 462.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.08944, allocations: 23.77 kB / 462.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.08945, allocations: 7.938 kB / 462.5 MB, free: 1.977 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.747e-05/0.08954, allocations: 121.9 kB / 462.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.08957, allocations: 7.906 kB / 462.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.08988, allocations: 130.3 kB / 462.7 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.08989, allocations: 7.938 kB / 462.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.0899, allocations: 0 / 462.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.08991, allocations: 0 / 462.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.09015, allocations: 205.6 kB / 462.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.09016, allocations: 4 kB / 462.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.09032, allocations: 31.91 kB / 463 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.09033, allocations: 0 / 463 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.09035, allocations: 0 / 463 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.09036, allocations: 4.406 kB / 463 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.09036, allocations: 0 / 463 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.09077, allocations: 259.4 kB / 463.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.09083, allocations: 88.95 kB / 463.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.09086, allocations: 4 kB / 463.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.09099, allocations: 11.92 kB / 463.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.09103, allocations: 4 kB / 463.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.09104, allocations: 3.984 kB / 463.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.817e-05/0.0911, allocations: 106 kB / 463.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.783e-06/0.09111, allocations: 0 / 463.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.09136, allocations: 28 kB / 463.5 MB, free: 0.8789 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006124/0.09198, allocations: 0.7788 MB / 464.2 MB, free: 76 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.09226, allocations: 84 kB / 464.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.09227, allocations: 0 / 464.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.0924, allocations: 51.84 kB / 464.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.09268, allocations: 15.88 kB / 464.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.09457, allocations: 1.77 MB / 466.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.09481, allocations: 0.6963 MB / 466.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.935e-05/0.09488, allocations: 12.61 kB / 466.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.09494, allocations: 27.42 kB / 466.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.09495, allocations: 0 / 466.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.1078, allocations: 2.206 MB / 469.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.108, allocations: 189.8 kB / 469.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/1.681, allocations: 4.062 kB / 469.3 MB, free: 10.93 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest.fmu > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)