Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 180.9 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.7 MB / 243.2 MB, free: 8.523 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008249/0.0008253, allocations: 96.98 kB / 294.4 MB, free: 9.523 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.33/0.33, allocations: 38.13 MB / 383.6 MB, free: 40.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003282, allocations: 8 kB / 453.5 MB, free: 8.789 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3375, allocations: 59.13 MB / 0.5006 GB, free: 38.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.00258/0.3401, allocations: 2.197 MB / 0.5027 GB, free: 38.63 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005246/0.3406, allocations: 404.8 kB / 0.5031 GB, free: 38.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.877e-05/0.3407, allocations: 1.219 kB / 0.5031 GB, free: 38.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.371e-05/0.3408, allocations: 7.219 kB / 0.5031 GB, free: 38.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.3409, allocations: 24.33 kB / 0.5032 GB, free: 38.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.497e-05/0.341, allocations: 26.06 kB / 0.5032 GB, free: 38.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.3412, allocations: 99.17 kB / 0.5033 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3413, allocations: 21.7 kB / 0.5033 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.3414, allocations: 32.58 kB / 0.5033 GB, free: 38.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.409e-05/0.3415, allocations: 45.62 kB / 0.5034 GB, free: 38.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.3415, allocations: 4.062 kB / 0.5034 GB, free: 38.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.088e-05/0.3415, allocations: 4.625 kB / 0.5034 GB, free: 38.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.3416, allocations: 18.23 kB / 0.5034 GB, free: 38.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.222e-05/0.3416, allocations: 67.66 kB / 0.5035 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.3418, allocations: 84.2 kB / 0.5035 GB, free: 38.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3418, allocations: 0.6875 kB / 0.5035 GB, free: 38.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3418, allocations: 0 / 0.5035 GB, free: 38.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.267e-06/0.3418, allocations: 2.719 kB / 0.5035 GB, free: 38.46 MB / 378.7 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.0005245/0.3424, allocations: 405.1 kB / 0.5039 GB, free: 38.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.3424, allocations: 13.59 kB / 0.5039 GB, free: 38.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.3424, allocations: 12.62 kB / 0.504 GB, free: 38.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3426, allocations: 189.9 kB / 0.5041 GB, free: 37.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3426, allocations: 7 kB / 0.5041 GB, free: 37.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.3426, allocations: 8.281 kB / 0.5042 GB, free: 37.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.3429, allocations: 103.2 kB / 0.5043 GB, free: 37.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3429, allocations: 4.812 kB / 0.5043 GB, free: 37.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3429, allocations: 1.875 kB / 0.5043 GB, free: 37.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3429, allocations: 2.375 kB / 0.5043 GB, free: 37.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.3432, allocations: 79.66 kB / 0.5043 GB, free: 37.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007116/0.3439, allocations: 467.8 kB / 0.5048 GB, free: 37.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.3442, allocations: 99.03 kB / 0.5049 GB, free: 37.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.3444, allocations: 45.2 kB / 0.5049 GB, free: 37.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.3444, allocations: 1.094 kB / 0.5049 GB, free: 37.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.3444, allocations: 32.38 kB / 0.505 GB, free: 37.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3444, allocations: 0.625 kB / 0.505 GB, free: 37.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004291/0.3449, allocations: 158.6 kB / 0.5051 GB, free: 37.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.808e-05/0.3449, allocations: 57.52 kB / 0.5052 GB, free: 37.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.17e-05/0.345, allocations: 138.5 kB / 0.5053 GB, free: 37.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.345, allocations: 26.7 kB / 0.5053 GB, free: 37.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.3451, allocations: 108.2 kB / 0.5054 GB, free: 37.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.3451, allocations: 20.66 kB / 0.5054 GB, free: 37.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.3451, allocations: 1.125 kB / 0.5054 GB, free: 37.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.307e-05/0.3452, allocations: 324.4 kB / 0.5057 GB, free: 36.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.3453, allocations: 39.88 kB / 0.5058 GB, free: 36.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3454, allocations: 63.53 kB / 0.5058 GB, free: 36.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.3456, allocations: 110 kB / 0.506 GB, free: 36.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3456, allocations: 1.906 kB / 0.506 GB, free: 36.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002952/0.3459, allocations: 143.1 kB / 0.5061 GB, free: 36.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.346, allocations: 6.75 kB / 0.5061 GB, free: 36.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.346, allocations: 1.094 kB / 0.5061 GB, free: 36.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.346, allocations: 1.438 kB / 0.5061 GB, free: 36.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.3462, allocations: 32.73 kB / 0.5061 GB, free: 36.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3462, allocations: 3.891 kB / 0.5061 GB, free: 36.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.3463, allocations: 28.83 kB / 0.5062 GB, free: 36.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3463, allocations: 4.109 kB / 0.5062 GB, free: 36.64 MB / 378.7 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.884e-05/0.3464, allocations: 121.8 kB / 0.5063 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.3464, allocations: 9.016 kB / 0.5063 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.3467, allocations: 137.8 kB / 0.5064 GB, free: 36.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3467, allocations: 4.969 kB / 0.5064 GB, free: 36.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3467, allocations: 0.6094 kB / 0.5064 GB, free: 36.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3467, allocations: 4.5 kB / 0.5064 GB, free: 36.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.347, allocations: 204.7 kB / 0.5066 GB, free: 36.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.347, allocations: 0 / 0.5066 GB, free: 36.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.3471, allocations: 35.3 kB / 0.5067 GB, free: 36.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3471, allocations: 0 / 0.5067 GB, free: 36.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3472, allocations: 1.953 kB / 0.5067 GB, free: 36.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3472, allocations: 3.938 kB / 0.5067 GB, free: 36.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3472, allocations: 5.141 kB / 0.5067 GB, free: 36.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.3476, allocations: 270.7 kB / 0.5069 GB, free: 36.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.3476, allocations: 92.47 kB / 0.507 GB, free: 36.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.3477, allocations: 1.75 kB / 0.507 GB, free: 36.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.3478, allocations: 16.77 kB / 0.507 GB, free: 36.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.3478, allocations: 9.188 kB / 0.507 GB, free: 36.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.3478, allocations: 1.125 kB / 0.507 GB, free: 36.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.69e-05/0.3479, allocations: 105.9 kB / 0.5071 GB, free: 35.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3479, allocations: 0 / 0.5071 GB, free: 35.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002249/0.3481, allocations: 20.22 kB / 0.5072 GB, free: 35.94 MB / 378.7 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 8.091e-05/0.3482, allocations: 102.2 kB / 0.5073 GB, free: 35.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002818/0.3485, allocations: 99.14 kB / 0.5074 GB, free: 35.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3485, allocations: 0.875 kB / 0.5074 GB, free: 35.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.3487, allocations: 46.3 kB / 0.5074 GB, free: 35.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.3489, allocations: 15.42 kB / 0.5074 GB, free: 35.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005975/0.3495, allocations: 391.2 kB / 0.5078 GB, free: 35.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.3497, allocations: 0.7042 MB / 0.5085 GB, free: 34.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.467e-05/0.3498, allocations: 10.27 kB / 0.5085 GB, free: 34.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.3498, allocations: 15.52 kB / 0.5085 GB, free: 34.88 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3498, allocations: 0 / 0.5085 GB, free: 34.88 MB / 378.7 MB Notification: Performance of Templates: time 0.003563/0.3534, allocations: 0.9237 MB / 0.5094 GB, free: 34.8 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.makefile (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 & ./PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)