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.0008595/0.0008595, allocations: 86.8 kB / 16.31 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.001035/0.001035, allocations: 183.6 kB / 17.21 MB, free: 6.316 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.35/1.35, allocations: 223.3 MB / 241.2 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3009/0.3009, allocations: 38.08 MB / 330.4 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 8 kB / 400.2 MB, free: 9.164 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3098, allocations: 59.16 MB / 459.3 MB, free: 30.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.00253/0.3124, allocations: 2.098 MB / 461.4 MB, free: 28.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00054/0.313, allocations: 408.9 kB / 461.8 MB, free: 28.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.343e-05/0.313, allocations: 0.9375 kB / 461.8 MB, free: 28.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.705e-05/0.3131, allocations: 8.141 kB / 461.8 MB, free: 28.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.3132, allocations: 23.03 kB / 461.9 MB, free: 28.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.005e-05/0.3133, allocations: 18.09 kB / 461.9 MB, free: 28.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.3135, allocations: 87.42 kB / 462 MB, free: 28.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3136, allocations: 21.45 kB / 462 MB, free: 28.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.3137, allocations: 43.52 kB / 462 MB, free: 28.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.455e-05/0.3138, allocations: 37.16 kB / 462.1 MB, free: 28.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.3139, allocations: 3.344 kB / 462.1 MB, free: 28.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.91e-05/0.3139, allocations: 4.219 kB / 462.1 MB, free: 28.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.3139, allocations: 22.2 kB / 462.1 MB, free: 28.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.314, allocations: 36.17 kB / 462.1 MB, free: 28.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.3141, allocations: 62.53 kB / 462.2 MB, free: 28.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.3141, allocations: 1.031 kB / 462.2 MB, free: 28.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3141, allocations: 7.938 kB / 462.2 MB, free: 28.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3141, allocations: 0 / 462.2 MB, free: 28.29 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.000615/0.3147, allocations: 406.2 kB / 462.6 MB, free: 27.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3148, allocations: 9.438 kB / 462.6 MB, free: 27.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.3148, allocations: 42 kB / 462.6 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.3149, allocations: 9.219 kB / 462.6 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.3151, allocations: 186.5 kB / 462.8 MB, free: 27.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3151, allocations: 3.062 kB / 462.8 MB, free: 27.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.3151, allocations: 12.11 kB / 462.8 MB, free: 27.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.3154, allocations: 95.67 kB / 462.9 MB, free: 27.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3154, allocations: 1.188 kB / 462.9 MB, free: 27.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.3155, allocations: 11.98 kB / 463 MB, free: 27.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3155, allocations: 2.219 kB / 463 MB, free: 27.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.3157, allocations: 77.78 kB / 463 MB, free: 27.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007682/0.3165, allocations: 467.1 kB / 463.5 MB, free: 27.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.3168, allocations: 97 kB / 463.6 MB, free: 27.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.317, allocations: 46.27 kB / 463.6 MB, free: 27.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.317, allocations: 1.75 kB / 463.6 MB, free: 27.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.317, allocations: 31.53 kB / 463.7 MB, free: 27.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.317, allocations: 0 / 463.7 MB, free: 27.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000438/0.3175, allocations: 158.3 kB / 463.8 MB, free: 26.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.3175, allocations: 57.09 kB / 463.9 MB, free: 26.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3176, allocations: 150 kB / 464 MB, free: 26.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.3176, allocations: 25.7 kB / 464 MB, free: 26.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.3177, allocations: 103.8 kB / 464.1 MB, free: 26.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.3177, allocations: 28.53 kB / 464.2 MB, free: 26.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.3177, allocations: 1.031 kB / 464.2 MB, free: 26.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.737e-05/0.3178, allocations: 324.1 kB / 464.5 MB, free: 26.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.3179, allocations: 40.48 kB / 464.5 MB, free: 26.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.3181, allocations: 65.66 kB / 464.6 MB, free: 26.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.3182, allocations: 46.56 kB / 464.6 MB, free: 26.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3182, allocations: 0 / 464.6 MB, free: 26.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002884/0.3185, allocations: 140.5 kB / 464.8 MB, free: 26.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3185, allocations: 7.875 kB / 464.8 MB, free: 26.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3185, allocations: 5.125 kB / 464.8 MB, free: 26.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3185, allocations: 2.844 kB / 464.8 MB, free: 26.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.3187, allocations: 28.25 kB / 464.8 MB, free: 26.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3187, allocations: 10.08 kB / 464.8 MB, free: 26.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3188, allocations: 19.17 kB / 464.8 MB, free: 26.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3188, allocations: 6.406 kB / 464.9 MB, free: 26.16 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.768e-05/0.3189, allocations: 115.2 kB / 465 MB, free: 26.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.319, allocations: 8.172 kB / 465 MB, free: 26.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.3193, allocations: 139.1 kB / 465.1 MB, free: 25.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3193, allocations: 2.156 kB / 465.1 MB, free: 25.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3193, allocations: 0 / 465.1 MB, free: 25.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3193, allocations: 4.703 kB / 465.1 MB, free: 25.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.3196, allocations: 205.1 kB / 465.3 MB, free: 25.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3196, allocations: 5.125 kB / 465.3 MB, free: 25.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.3197, allocations: 30.39 kB / 465.4 MB, free: 25.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3197, allocations: 0 / 465.4 MB, free: 25.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3198, allocations: 5.125 kB / 465.4 MB, free: 25.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3198, allocations: 1.766 kB / 465.4 MB, free: 25.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3198, allocations: 4 kB / 465.4 MB, free: 25.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004207/0.3202, allocations: 272.6 kB / 465.6 MB, free: 25.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.3202, allocations: 88.98 kB / 465.7 MB, free: 25.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.3203, allocations: 1.75 kB / 465.7 MB, free: 25.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.3204, allocations: 13.03 kB / 465.7 MB, free: 25.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.3204, allocations: 12.81 kB / 465.7 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.3205, allocations: 3 kB / 465.7 MB, free: 25.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.013e-05/0.3205, allocations: 110.8 kB / 465.9 MB, free: 25.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3205, allocations: 0 / 465.9 MB, free: 25.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.3208, allocations: 22.08 kB / 465.9 MB, free: 25.36 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.0005771/0.3214, allocations: 0.7905 MB / 466.7 MB, free: 24.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.3217, allocations: 102.2 kB / 466.8 MB, free: 24.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3217, allocations: 0.875 kB / 466.8 MB, free: 24.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.3218, allocations: 47.61 kB / 466.8 MB, free: 24.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.3221, allocations: 13.55 kB / 466.8 MB, free: 24.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.3235, allocations: 0.8767 MB / 467.7 MB, free: 24.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.3237, allocations: 0.7004 MB / 468.4 MB, free: 23.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.412e-05/0.3237, allocations: 11.08 kB / 468.4 MB, free: 23.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.3238, allocations: 24.81 kB / 468.4 MB, free: 23.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3238, allocations: 0 / 468.4 MB, free: 23.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.3376, allocations: 2.057 MB / 470.5 MB, free: 23.09 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.3378, allocations: 185.1 kB / 470.7 MB, free: 22.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.226, allocations: 0 / 470.7 MB, free: 22.86 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