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 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.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.0008686/0.0008686, allocations: 91.12 kB / 16.65 MB, free: 6.59 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.0009364/0.0009364, allocations: 185.7 kB / 17.57 MB, free: 6.199 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.242/1.242, allocations: 205.4 MB / 223.7 MB, free: 13.07 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: 38.06 MB / 310.1 MB, free: 5.891 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.0004891/0.0004892, allocations: 16.56 kB / 377.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2259, allocations: 56.33 MB / 433.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.00233/0.2283, allocations: 2.147 MB / 435.7 MB, free: 16.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004519/0.2287, allocations: 467.8 kB / 436.2 MB, free: 16.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.533e-05/0.2288, allocations: 8 kB / 436.2 MB, free: 16.01 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.946e-05/0.2289, allocations: 7.922 kB / 436.2 MB, free: 16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.2291, allocations: 23.84 kB / 436.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.026e-05/0.2292, allocations: 15.98 kB / 436.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.2293, allocations: 107.5 kB / 436.4 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2294, allocations: 12 kB / 436.4 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.008e-05/0.2295, allocations: 35.91 kB / 436.4 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.2296, allocations: 43.78 kB / 436.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.2296, allocations: 4 kB / 436.5 MB, free: 15.76 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.2296, allocations: 4 kB / 436.5 MB, free: 15.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.2296, allocations: 19.89 kB / 436.5 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.2297, allocations: 61.5 kB / 436.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.748e-05/0.2298, allocations: 89.91 kB / 436.6 MB, free: 15.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2298, allocations: 3.938 kB / 436.6 MB, free: 15.58 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2298, allocations: 4 kB / 436.6 MB, free: 15.58 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.2298, allocations: 0 / 436.6 MB, free: 15.58 MB / 318.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.0005131/0.2303, allocations: 407.1 kB / 437 MB, free: 15.13 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2304, allocations: 8.031 kB / 437 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.2304, allocations: 42.69 kB / 437.1 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.2304, allocations: 8.844 kB / 437.1 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.2306, allocations: 188.2 kB / 437.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.2306, allocations: 12.38 kB / 437.3 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.2306, allocations: 11.94 kB / 437.3 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.2309, allocations: 93.64 kB / 437.4 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2309, allocations: 3.906 kB / 437.4 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.2309, allocations: 4 kB / 437.4 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2309, allocations: 0 / 437.4 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.2312, allocations: 87.88 kB / 437.5 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000669/0.2318, allocations: 453.3 kB / 437.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.2321, allocations: 114.5 kB / 438 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.2323, allocations: 40.83 kB / 438.1 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.2323, allocations: 8 kB / 438.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.382e-05/0.2323, allocations: 34.56 kB / 438.1 MB, free: 13.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.2323, allocations: 0 / 438.1 MB, free: 13.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004315/0.2328, allocations: 153.5 kB / 438.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.2328, allocations: 59.34 kB / 438.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.821e-05/0.2329, allocations: 142.2 kB / 438.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.2329, allocations: 25.7 kB / 438.5 MB, free: 13.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.233, allocations: 112.2 kB / 438.6 MB, free: 13.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.233, allocations: 27.64 kB / 438.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.233, allocations: 17.7 kB / 438.6 MB, free: 13.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.25e-05/0.2331, allocations: 318.8 kB / 439 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.2332, allocations: 39.97 kB / 439 MB, free: 12.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.2333, allocations: 63.41 kB / 439.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.2335, allocations: 115.3 kB / 439.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2335, allocations: 0 / 439.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002626/0.2338, allocations: 137.5 kB / 439.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.2338, allocations: 8 kB / 439.3 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2338, allocations: 3.984 kB / 439.3 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2338, allocations: 4.125 kB / 439.3 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.234, allocations: 36.02 kB / 439.4 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.234, allocations: 3.938 kB / 439.4 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.653e-05/0.2341, allocations: 19.89 kB / 439.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.2341, allocations: 0 / 439.4 MB, free: 12.57 MB / 318.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 5.935e-05/0.2342, allocations: 121.8 kB / 439.5 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.2342, allocations: 11.91 kB / 439.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.2345, allocations: 138.3 kB / 439.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2345, allocations: 3.938 kB / 439.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2345, allocations: 0 / 439.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2345, allocations: 0 / 439.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.2347, allocations: 209.5 kB / 439.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2347, allocations: 8 kB / 439.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.2349, allocations: 23.98 kB / 439.9 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2349, allocations: 0 / 439.9 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.2349, allocations: 0 / 439.9 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2349, allocations: 11.88 kB / 439.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2349, allocations: 4 kB / 439.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.2353, allocations: 275.3 kB / 440.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.2354, allocations: 81.02 kB / 440.2 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.2354, allocations: 4.031 kB / 440.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2355, allocations: 15.98 kB / 440.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.2355, allocations: 7.984 kB / 440.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.2356, allocations: 8 kB / 440.3 MB, free: 11.56 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.564e-05/0.2356, allocations: 107.2 kB / 440.4 MB, free: 11.46 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2356, allocations: 0 / 440.4 MB, free: 11.46 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.2358, allocations: 19.91 kB / 440.4 MB, free: 11.44 MB / 318.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.0005667/0.2364, allocations: 0.7949 MB / 441.2 MB, free: 10.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.2367, allocations: 100 kB / 441.3 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2367, allocations: 0 / 441.3 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.2368, allocations: 47.98 kB / 441.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.2371, allocations: 20.11 kB / 441.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.2387, allocations: 1.816 MB / 443.2 MB, free: 8.535 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.2388, allocations: 0.7004 MB / 443.9 MB, free: 7.809 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.265e-05/0.2389, allocations: 8.656 kB / 443.9 MB, free: 7.801 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.2389, allocations: 23.44 kB / 443.9 MB, free: 7.777 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2389, allocations: 0 / 443.9 MB, free: 7.777 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01251/0.2514, allocations: 2.082 MB / 446 MB, free: 5.746 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.2516, allocations: 192.7 kB / 446.2 MB, free: 5.484 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.188, allocations: 0 / 446.2 MB, free: 5.484 MB / 318.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)