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.001056/0.001056, allocations: 105.5 kB / 16.92 MB, free: 6.145 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.001096/0.001096, allocations: 191.5 kB / 17.85 MB, free: 5.309 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.292/1.292, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1698/0.1698, allocations: 38.03 MB / 329.7 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 61.39 kB / 398.9 MB, free: 33.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08018/0.08142, allocations: 58.06 MB / 457 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003962/0.08542, allocations: 2.434 MB / 459.4 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006026/0.08605, allocations: 442.9 kB / 459.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.08614, allocations: 4 kB / 459.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.991e-05/0.08624, allocations: 11.86 kB / 459.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.08638, allocations: 27.77 kB / 459.9 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.409e-05/0.08648, allocations: 23.97 kB / 459.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.08663, allocations: 99.59 kB / 460 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.08674, allocations: 19.92 kB / 460 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.08686, allocations: 43.86 kB / 460.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.381e-05/0.08695, allocations: 43.81 kB / 460.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.08698, allocations: 8 kB / 460.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.864e-05/0.087, allocations: 8 kB / 460.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/0.08704, allocations: 23.92 kB / 460.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.0871, allocations: 55.66 kB / 460.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.08723, allocations: 83.97 kB / 460.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.08724, allocations: 0 / 460.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.08724, allocations: 3.938 kB / 460.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.08726, allocations: 0 / 460.3 MB, free: 4.621 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.0006239/0.08789, allocations: 419.1 kB / 460.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.08793, allocations: 11.89 kB / 460.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.08798, allocations: 46.69 kB / 460.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.08802, allocations: 8.844 kB / 460.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.08819, allocations: 192.1 kB / 460.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.08821, allocations: 4.375 kB / 460.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.08824, allocations: 11.94 kB / 461 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.08849, allocations: 96.53 kB / 461.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.08851, allocations: 0 / 461.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.08852, allocations: 4 kB / 461.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.08853, allocations: 4 kB / 461.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.08877, allocations: 75.86 kB / 461.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007382/0.08952, allocations: 453.3 kB / 461.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.08985, allocations: 98.59 kB / 461.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.08998, allocations: 40.83 kB / 461.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.09, allocations: 0 / 461.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.09003, allocations: 34.56 kB / 461.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.09004, allocations: 8 kB / 461.8 MB, free: 2.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004338/0.09047, allocations: 141.6 kB / 461.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.09052, allocations: 59.34 kB / 462 MB, free: 2.746 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.09063, allocations: 136.4 kB / 462.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.09065, allocations: 25.7 kB / 462.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.09071, allocations: 107.9 kB / 462.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.09073, allocations: 23.8 kB / 462.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.09079, allocations: 29.7 kB / 462.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.0909, allocations: 318.8 kB / 462.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.09102, allocations: 31.98 kB / 462.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.09115, allocations: 59.41 kB / 462.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.0914, allocations: 103.3 kB / 462.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.09141, allocations: 0 / 462.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002993/0.09172, allocations: 125.5 kB / 462.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.09174, allocations: 10.62 kB / 462.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.09175, allocations: 0 / 462.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.09178, allocations: 15.81 kB / 462.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.09194, allocations: 31.92 kB / 462.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.09195, allocations: 0 / 462.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.09206, allocations: 19.83 kB / 463 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.09208, allocations: 4 kB / 463 MB, free: 1.664 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.356e-05/0.09216, allocations: 113.8 kB / 463.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.0922, allocations: 11.91 kB / 463.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.09252, allocations: 130.3 kB / 463.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.09254, allocations: 3.938 kB / 463.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.09255, allocations: 0 / 463.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.09255, allocations: 0 / 463.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.09279, allocations: 205.6 kB / 463.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.0928, allocations: 0 / 463.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.09296, allocations: 23.98 kB / 463.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.09297, allocations: 7.984 kB / 463.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.09299, allocations: 8 kB / 463.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.093, allocations: 3.938 kB / 463.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.09301, allocations: 0 / 463.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/0.09345, allocations: 251.3 kB / 463.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.09351, allocations: 93.02 kB / 463.8 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.09353, allocations: 4 kB / 463.8 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.09367, allocations: 15.92 kB / 463.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.09371, allocations: 0 / 463.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.09372, allocations: 4 kB / 463.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.318e-05/0.09379, allocations: 110.3 kB / 463.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.0938, allocations: 0 / 463.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.09405, allocations: 20 kB / 464 MB, free: 0.5781 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.0006589/0.09471, allocations: 0.7787 MB / 464.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.095, allocations: 88.48 kB / 464.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.09501, allocations: 4.25 kB / 464.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.09513, allocations: 48.06 kB / 464.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.09544, allocations: 24.02 kB / 464.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.09738, allocations: 1.731 MB / 466.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.09763, allocations: 0.6924 MB / 467.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.681e-05/0.09769, allocations: 12.66 kB / 467.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.09776, allocations: 27.42 kB / 467.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.09777, allocations: 0 / 467.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.115, allocations: 2.33 MB / 469.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.538/6.653, allocations: 23.8 kB / 469.7 MB, free: 10.73 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)