Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/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(OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.001241, allocations: 179.6 kB / 15.43 MB, free: 6.203 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.479/1.479, allocations: 225.7 MB / 241.9 MB, free: 400 kB / 186.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.0007861/0.0007862, allocations: 92.27 kB / 293.1 MB, free: 12.91 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.1799/0.1799, allocations: 43.18 MB / 387.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005308/0.0005313, allocations: 8 kB / 458.6 MB, free: 55.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1256, allocations: 60.5 MB / 0.5069 GB, free: 10.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation): time 0.006702/0.1324, allocations: 5.864 MB / 0.5126 GB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004824/0.1373, allocations: 2.448 MB / 0.515 GB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.1385, allocations: 12 kB / 0.515 GB, free: 2.371 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008646/0.1394, allocations: 170.9 kB / 0.5152 GB, free: 2.203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003334/0.1428, allocations: 0.9217 MB / 0.5161 GB, free: 1.207 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.1449, allocations: 0.7084 MB / 0.5168 GB, free: 472 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002382/0.1473, allocations: 1.328 MB / 0.5181 GB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000655/0.148, allocations: 305.1 kB / 0.5184 GB, free: 14.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009588/0.1489, allocations: 0.5092 MB / 0.5189 GB, free: 14.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.1501, allocations: 0.6529 MB / 0.5195 GB, free: 13.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003949/0.1505, allocations: 52 kB / 0.5196 GB, free: 13.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000806/0.1513, allocations: 175.9 kB / 0.5197 GB, free: 13.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.1516, allocations: 218.8 kB / 0.52 GB, free: 13.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006244/0.1522, allocations: 0.5917 MB / 0.5205 GB, free: 12.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.1538, allocations: 1.405 MB / 0.5219 GB, free: 11.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.1538, allocations: 4 kB / 0.5219 GB, free: 11.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.1538, allocations: 0 / 0.5219 GB, free: 11.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.1539, allocations: 3.938 kB / 0.5219 GB, free: 11.19 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007464/0.1613, allocations: 2.369 MB / 0.5242 GB, free: 8.766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.1614, allocations: 16.03 kB / 0.5242 GB, free: 8.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00475/0.1662, allocations: 0.7827 MB / 0.525 GB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.1678, allocations: 0.7644 MB / 0.5257 GB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003914/0.1682, allocations: 272.2 kB / 0.526 GB, free: 6.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002787/0.1685, allocations: 76 kB / 0.5261 GB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/0.1712, allocations: 1.159 MB / 0.5272 GB, free: 5.602 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.1712, allocations: 3.938 kB / 0.5272 GB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.765e-05/0.1714, allocations: 32 kB / 0.5272 GB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.1714, allocations: 16 kB / 0.5273 GB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002776/0.1742, allocations: 1.238 MB / 0.5285 GB, free: 4.312 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006368/0.1805, allocations: 3.503 MB / 0.5319 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2288/0.4094, allocations: 1.489 MB / 0.5333 GB, free: 31.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002165/0.4116, allocations: 0.8674 MB / 0.5342 GB, free: 31.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.4117, allocations: 12.31 kB / 0.5342 GB, free: 31.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.4118, allocations: 44.84 kB / 0.5342 GB, free: 31.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=96): time 4.499e-06/0.4118, allocations: 1.062 kB / 0.5342 GB, free: 31.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=96): time 0.0285/0.4403, allocations: 8.359 MB / 0.5424 GB, free: 30.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.4404, allocations: 65.62 kB / 0.5425 GB, free: 30.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.442, allocations: 0.8755 MB / 0.5433 GB, free: 30.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002201/0.4422, allocations: 41.42 kB / 0.5434 GB, free: 29.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.4426, allocations: 0.4887 MB / 0.5438 GB, free: 29.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003499/0.4429, allocations: 341.4 kB / 0.5442 GB, free: 29.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.641e-05/0.443, allocations: 28.78 kB / 0.5442 GB, free: 29.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4431, allocations: 348 kB / 0.5445 GB, free: 29.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.4451, allocations: 0.7951 MB / 0.5453 GB, free: 28.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.447, allocations: 0.929 MB / 0.5462 GB, free: 28.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01848/0.4655, allocations: 5.323 MB / 0.5514 GB, free: 26.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.4655, allocations: 3.969 kB / 0.5514 GB, free: 26.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01267/0.4782, allocations: 5.156 MB / 0.5564 GB, free: 23.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.4783, allocations: 5.594 kB / 0.5565 GB, free: 23.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.4783, allocations: 4 kB / 0.5565 GB, free: 23.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005451/0.4837, allocations: 2.175 MB / 0.5586 GB, free: 21.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009591/0.4847, allocations: 226.9 kB / 0.5588 GB, free: 21.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01729/0.502, allocations: 9.34 MB / 0.5679 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.5035, allocations: 223.9 kB / 0.5681 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.99e-05/0.5036, allocations: 39.98 kB / 0.5682 GB, free: 11.84 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003839/0.504, allocations: 249.4 kB / 0.5684 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.5041, allocations: 118.5 kB / 0.5685 GB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/0.5162, allocations: 4.949 MB / 0.5734 GB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.5162, allocations: 12 kB / 0.5734 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5163, allocations: 2.938 kB / 0.5734 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/0.5163, allocations: 3.984 kB / 0.5734 GB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/0.5301, allocations: 6.555 MB / 0.5798 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.5302, allocations: 0 / 0.5798 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007354/0.5309, allocations: 143.8 kB / 0.5799 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005961/0.5369, allocations: 2.05 MB / 0.5819 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.537, allocations: 23.92 kB / 0.5819 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01768/0.5547, allocations: 8.213 MB / 0.59 GB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.5548, allocations: 3.984 kB / 0.59 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01753/0.5723, allocations: 5.993 MB / 0.5958 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006484/0.573, allocations: 207.4 kB / 0.596 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003333/0.5734, allocations: 16 kB / 0.596 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.5746, allocations: 151.9 kB / 0.5962 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007286/0.5753, allocations: 220.6 kB / 0.5964 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/0.5754, allocations: 25.58 kB / 0.5964 GB, free: 14.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007213/0.5761, allocations: 0.5887 MB / 0.597 GB, free: 14.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5761, allocations: 0 / 0.597 GB, free: 14.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00141/0.5775, allocations: 431.5 kB / 0.5974 GB, free: 13.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003446/0.5779, allocations: 136.1 kB / 0.5975 GB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01009/0.588, allocations: 2.762 MB / 0.6002 GB, free: 10.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.5881, allocations: 0 / 0.6002 GB, free: 10.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00716/0.5952, allocations: 1.784 MB / 0.602 GB, free: 8.887 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.5964, allocations: 88.42 kB / 0.602 GB, free: 8.801 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/0.6003, allocations: 2.401 MB / 0.6044 GB, free: 6.367 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/0.6009, allocations: 1.084 MB / 0.6054 GB, free: 5.258 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003832/0.6013, allocations: 82.69 kB / 0.6055 GB, free: 5.172 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.6016, allocations: 67.36 kB / 0.6056 GB, free: 5.109 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6016, allocations: 0 / 0.6056 GB, free: 5.109 MB / 394.7 MB Notification: Performance of Templates: time 0.03237/0.6339, allocations: 20.39 MB / 0.6255 GB, free: 0.7422 MB / 410.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)