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.001156/0.001156, allocations: 105.2 kB / 16.51 MB, free: 6.707 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.001161/0.001161, allocations: 188.1 kB / 17.42 MB, free: 6.07 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.185/1.185, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1647/0.1647, allocations: 37.98 MB / 308.6 MB, free: 6.242 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.001275/0.001275, allocations: 67.91 kB / 374.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1792, allocations: 55.24 MB / 430 MB, free: 19.88 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002838/0.182, allocations: 2.497 MB / 432.5 MB, free: 17.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004015/0.1825, allocations: 471.8 kB / 432.9 MB, free: 16.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.1825, allocations: 0 / 432.9 MB, free: 16.89 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.293e-05/0.1826, allocations: 15.86 kB / 432.9 MB, free: 16.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.723e-05/0.1827, allocations: 27.77 kB / 433 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.789e-05/0.1828, allocations: 19.98 kB / 433 MB, free: 16.83 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.682e-05/0.1829, allocations: 99.58 kB / 433.1 MB, free: 16.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.605e-05/0.183, allocations: 12 kB / 433.1 MB, free: 16.72 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.94e-05/0.1831, allocations: 43.78 kB / 433.1 MB, free: 16.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.38e-05/0.1832, allocations: 47.81 kB / 433.2 MB, free: 16.63 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.1832, allocations: 4 kB / 433.2 MB, free: 16.63 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.75e-05/0.1832, allocations: 4 kB / 433.2 MB, free: 16.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.1832, allocations: 15.92 kB / 433.2 MB, free: 16.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.1833, allocations: 43.73 kB / 433.2 MB, free: 16.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.476e-05/0.1834, allocations: 89.98 kB / 433.3 MB, free: 16.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1834, allocations: 0 / 433.3 MB, free: 16.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1834, allocations: 0 / 433.3 MB, free: 16.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1834, allocations: 0 / 433.3 MB, free: 16.48 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.0005069/0.1839, allocations: 415.1 kB / 433.7 MB, free: 16.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1839, allocations: 12.03 kB / 433.7 MB, free: 16.02 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.695e-05/0.184, allocations: 38.75 kB / 433.8 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.184, allocations: 20.73 kB / 433.8 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1841, allocations: 188.1 kB / 434 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.1841, allocations: 12.3 kB / 434 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.1842, allocations: 11.94 kB / 434 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.1844, allocations: 89.64 kB / 434.1 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.1844, allocations: 0 / 434.1 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1844, allocations: 4 kB / 434.1 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1844, allocations: 0 / 434.1 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.1846, allocations: 75.94 kB / 434.2 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.1852, allocations: 465.1 kB / 434.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.1855, allocations: 90.67 kB / 434.7 MB, free: 14.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.1857, allocations: 40.83 kB / 434.8 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.1857, allocations: 0 / 434.8 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.023e-05/0.1857, allocations: 34.5 kB / 434.8 MB, free: 14.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.1857, allocations: 0 / 434.8 MB, free: 14.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003898/0.1861, allocations: 145.6 kB / 434.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.1861, allocations: 51.41 kB / 435 MB, free: 14.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.865e-05/0.1862, allocations: 150.2 kB / 435.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.946e-06/0.1862, allocations: 25.7 kB / 435.2 MB, free: 14.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.1862, allocations: 104.1 kB / 435.3 MB, free: 14.33 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.1863, allocations: 31.55 kB / 435.3 MB, free: 14.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.1863, allocations: 17.72 kB / 435.3 MB, free: 14.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.894e-05/0.1864, allocations: 326.8 kB / 435.6 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.1865, allocations: 35.97 kB / 435.7 MB, free: 13.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1866, allocations: 67.28 kB / 435.7 MB, free: 13.83 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.1868, allocations: 99.66 kB / 435.8 MB, free: 13.72 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1868, allocations: 0 / 435.8 MB, free: 13.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002465/0.187, allocations: 133.5 kB / 436 MB, free: 13.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.1871, allocations: 4 kB / 436 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1871, allocations: 0 / 436 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1871, allocations: 12.03 kB / 436 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.1872, allocations: 23.98 kB / 436 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1872, allocations: 3.938 kB / 436 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.828e-05/0.1873, allocations: 11.98 kB / 436 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1874, allocations: 4 kB / 436 MB, free: 13.53 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.316e-05/0.1874, allocations: 121.8 kB / 436.1 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.1874, allocations: 7.906 kB / 436.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.1877, allocations: 130.3 kB / 436.3 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1877, allocations: 11.81 kB / 436.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1877, allocations: 0 / 436.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1877, allocations: 3.984 kB / 436.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.1879, allocations: 205.5 kB / 436.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.1879, allocations: 7.984 kB / 436.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.1881, allocations: 23.98 kB / 436.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1881, allocations: 0 / 436.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1881, allocations: 0 / 436.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.1881, allocations: 11.94 kB / 436.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1881, allocations: 0 / 436.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.1885, allocations: 251.4 kB / 436.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.1885, allocations: 88.98 kB / 436.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.1885, allocations: 0 / 436.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.1887, allocations: 15.98 kB / 436.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.1887, allocations: 11.98 kB / 436.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.1887, allocations: 0 / 436.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.088e-05/0.1888, allocations: 107.3 kB / 437 MB, free: 12.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1888, allocations: 0 / 437 MB, free: 12.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.189, allocations: 16 kB / 437 MB, free: 12.43 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.0004616/0.1895, allocations: 0.7905 MB / 437.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.1897, allocations: 87.88 kB / 437.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1897, allocations: 0 / 437.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1898, allocations: 48.16 kB / 437.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.1901, allocations: 11.94 kB / 437.9 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.1916, allocations: 1.739 MB / 439.7 MB, free: 9.629 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.533e-05/0.1917, allocations: 0.7082 MB / 440.4 MB, free: 8.895 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.47e-05/0.1918, allocations: 0.6719 kB / 440.4 MB, free: 8.895 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.1918, allocations: 27.42 kB / 440.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1918, allocations: 4 kB / 440.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01007/0.2019, allocations: 2.146 MB / 442.6 MB, free: 6.738 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001117/0.2021, allocations: 194.4 kB / 442.8 MB, free: 6.477 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/1.795, allocations: 7.109 kB / 442.8 MB, free: 6.473 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)