Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_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.001027/0.001027, allocations: 177.8 kB / 15.43 MB, free: 5.777 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.589/1.589, allocations: 225.7 MB / 241.9 MB, free: 388 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.0007633/0.0007632, allocations: 93.45 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.1712/0.1712, allocations: 43.18 MB / 387.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.0002889, allocations: 8 kB / 458.6 MB, free: 55.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08657/0.08687, allocations: 60.5 MB / 0.5069 GB, free: 10.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation): time 0.006143/0.09306, allocations: 5.962 MB / 0.5127 GB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004153/0.09724, allocations: 2.468 MB / 0.5151 GB, free: 2.281 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007788/0.09805, allocations: 12 kB / 0.5152 GB, free: 2.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004421/0.09852, allocations: 174.8 kB / 0.5153 GB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.1002, allocations: 0.9243 MB / 0.5162 GB, free: 1.098 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.1015, allocations: 0.724 MB / 0.5169 GB, free: 344 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.1029, allocations: 1.347 MB / 0.5182 GB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004359/0.1033, allocations: 293.2 kB / 0.5185 GB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005917/0.1039, allocations: 0.5209 MB / 0.519 GB, free: 14.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006348/0.1046, allocations: 0.6607 MB / 0.5197 GB, free: 13.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.1047, allocations: 59.94 kB / 0.5197 GB, free: 13.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003474/0.105, allocations: 175.9 kB / 0.5199 GB, free: 13.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.1053, allocations: 226.8 kB / 0.5201 GB, free: 13.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005127/0.1058, allocations: 0.5917 MB / 0.5207 GB, free: 12.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.107, allocations: 1.432 MB / 0.5221 GB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.107, allocations: 0 / 0.5221 GB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.107, allocations: 0 / 0.5221 GB, free: 11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.107, allocations: 0 / 0.5221 GB, free: 11 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006854/0.1139, allocations: 2.393 MB / 0.5244 GB, free: 8.559 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1139, allocations: 8.031 kB / 0.5244 GB, free: 8.551 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004663/0.1186, allocations: 0.7905 MB / 0.5252 GB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009803/0.1196, allocations: 0.7685 MB / 0.526 GB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002848/0.1199, allocations: 272.2 kB / 0.5262 GB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.12, allocations: 76 kB / 0.5263 GB, free: 6.555 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.1225, allocations: 1.167 MB / 0.5274 GB, free: 5.383 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1225, allocations: 3.938 kB / 0.5274 GB, free: 5.379 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-05/0.1226, allocations: 32 kB / 0.5275 GB, free: 5.348 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.1227, allocations: 24 kB / 0.5275 GB, free: 5.324 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/0.1253, allocations: 1.238 MB / 0.5287 GB, free: 4.086 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.005527/0.1308, allocations: 3.522 MB / 0.5321 GB, free: 416 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1882/0.3191, allocations: 1.514 MB / 0.5336 GB, free: 31.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/0.3209, allocations: 0.8739 MB / 0.5345 GB, free: 31.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-05/0.321, allocations: 14.42 kB / 0.5345 GB, free: 31.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.321, allocations: 44.97 kB / 0.5345 GB, free: 31.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=98): time 2.966e-06/0.321, allocations: 2.531 kB / 0.5345 GB, free: 31.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=98): time 0.02541/0.3465, allocations: 8.208 MB / 0.5425 GB, free: 30.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.3465, allocations: 67.77 kB / 0.5426 GB, free: 30.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.3476, allocations: 0.881 MB / 0.5435 GB, free: 29.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.666e-05/0.3477, allocations: 41.08 kB / 0.5435 GB, free: 29.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.348, allocations: 0.4919 MB / 0.544 GB, free: 29.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/0.3482, allocations: 350.4 kB / 0.5443 GB, free: 29.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/0.3483, allocations: 28.56 kB / 0.5444 GB, free: 29.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.456e-05/0.3484, allocations: 352.5 kB / 0.5447 GB, free: 29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.35, allocations: 0.8094 MB / 0.5455 GB, free: 28.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.3516, allocations: 0.9487 MB / 0.5464 GB, free: 28.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01755/0.3692, allocations: 5.407 MB / 0.5517 GB, free: 26.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3692, allocations: 0 / 0.5517 GB, free: 26.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01247/0.3817, allocations: 5.191 MB / 0.5568 GB, free: 23.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3817, allocations: 4 kB / 0.5568 GB, free: 23.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3818, allocations: 7.984 kB / 0.5568 GB, free: 23.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005371/0.3871, allocations: 2.086 MB / 0.5588 GB, free: 21.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.3882, allocations: 241.6 kB / 0.559 GB, free: 21.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01679/0.405, allocations: 9.48 MB / 0.5683 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.4065, allocations: 223 kB / 0.5685 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/0.4066, allocations: 43.98 kB / 0.5685 GB, free: 11.48 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: Generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (116): * Single equations (assignments): 115 * 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 {(24,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003799/0.407, allocations: 257.8 kB / 0.5688 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.4071, allocations: 118.5 kB / 0.5689 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.4189, allocations: 4.955 MB / 0.5737 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.419, allocations: 12 kB / 0.5738 GB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.419, allocations: 3.938 kB / 0.5738 GB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.419, allocations: 4.859 kB / 0.5738 GB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.4323, allocations: 6.545 MB / 0.5802 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.4324, allocations: 0 / 0.5802 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007482/0.4331, allocations: 147.8 kB / 0.5803 GB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005782/0.4389, allocations: 2.051 MB / 0.5823 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.4391, allocations: 23.92 kB / 0.5823 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01698/0.4561, allocations: 8.197 MB / 0.5903 GB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4561, allocations: 7.938 kB / 0.5903 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/0.4711, allocations: 5.972 MB / 0.5962 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.4715, allocations: 207.4 kB / 0.5964 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.4717, allocations: 19.94 kB / 0.5964 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009935/0.4727, allocations: 159.9 kB / 0.5965 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007128/0.4734, allocations: 212.6 kB / 0.5967 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-05/0.4735, allocations: 27.94 kB / 0.5968 GB, free: 14.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007173/0.4742, allocations: 0.5891 MB / 0.5973 GB, free: 13.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.61e-07/0.4742, allocations: 0 / 0.5973 GB, free: 13.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001053/0.4753, allocations: 443.7 kB / 0.5978 GB, free: 13.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.0002235/0.4755, allocations: 135.7 kB / 0.5979 GB, free: 13.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006473/0.482, allocations: 2.762 MB / 0.6006 GB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.482, allocations: 0 / 0.6006 GB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004514/0.4865, allocations: 1.806 MB / 0.6024 GB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006433/0.4872, allocations: 92.41 kB / 0.6024 GB, free: 8.402 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.4907, allocations: 2.554 MB / 0.6049 GB, free: 5.824 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/0.4913, allocations: 1.099 MB / 0.606 GB, free: 4.691 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003871/0.4917, allocations: 86.77 kB / 0.6061 GB, free: 4.602 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.4919, allocations: 63.42 kB / 0.6062 GB, free: 4.539 MB / 394.7 MB Notification: Performance of SimCode: time 9.12e-07/0.4919, allocations: 0 / 0.6062 GB, free: 4.539 MB / 394.7 MB Notification: Performance of Templates: time 0.03067/0.5226, allocations: 20.62 MB / 0.6263 GB, free: 15.92 MB / 426.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)