Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 177.6 kB / 15.43 MB, free: 6.207 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.414/1.414, 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.0008221/0.000822, allocations: 96.69 kB / 293.1 MB, free: 12.89 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.1697/0.1697, allocations: 43.17 MB / 387.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 12 kB / 458.6 MB, free: 55.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1102, allocations: 60.5 MB / 0.5069 GB, free: 10.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.009515/0.1198, allocations: 6.437 MB / 0.5132 GB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006949/0.1268, allocations: 2.863 MB / 0.516 GB, free: 1.336 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009728/0.1278, allocations: 19.94 kB / 0.516 GB, free: 1.316 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000818/0.1286, allocations: 198.7 kB / 0.5162 GB, free: 1.121 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002509/0.1311, allocations: 0.9792 MB / 0.5172 GB, free: 68 kB / 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.002213/0.1334, allocations: 0.8333 MB / 0.518 GB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002359/0.1357, allocations: 1.635 MB / 0.5196 GB, free: 13.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007189/0.1365, allocations: 367.2 kB / 0.5199 GB, free: 13.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009961/0.1375, allocations: 0.6025 MB / 0.5205 GB, free: 12.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.1386, allocations: 0.7503 MB / 0.5212 GB, free: 11.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.1388, allocations: 64 kB / 0.5213 GB, free: 11.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000592/0.1394, allocations: 183.9 kB / 0.5215 GB, free: 11.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.1397, allocations: 262.6 kB / 0.5217 GB, free: 11.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007494/0.1405, allocations: 0.6654 MB / 0.5224 GB, free: 10.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.1426, allocations: 1.685 MB / 0.524 GB, free: 8.945 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.1426, allocations: 0 / 0.524 GB, free: 8.945 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1426, allocations: 0 / 0.524 GB, free: 8.945 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.1427, allocations: 0 / 0.524 GB, free: 8.945 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.01128/0.154, allocations: 2.65 MB / 0.5266 GB, free: 6.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.154, allocations: 8.031 kB / 0.5266 GB, free: 6.223 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006617/0.1607, allocations: 0.8099 MB / 0.5274 GB, free: 5.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/0.1637, allocations: 0.9138 MB / 0.5283 GB, free: 4.441 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005456/0.1643, allocations: 339.6 kB / 0.5286 GB, free: 4.059 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002894/0.1646, allocations: 99.89 kB / 0.5287 GB, free: 3.961 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00401/0.1686, allocations: 1.365 MB / 0.5301 GB, free: 2.574 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.1686, allocations: 3.938 kB / 0.5301 GB, free: 2.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/0.1688, allocations: 36 kB / 0.5301 GB, free: 2.535 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.1688, allocations: 20 kB / 0.5301 GB, free: 2.516 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003975/0.1728, allocations: 1.284 MB / 0.5314 GB, free: 1.23 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.288/0.4608, allocations: 4.257 MB / 0.5355 GB, free: 30.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003633/0.4644, allocations: 1.874 MB / 0.5374 GB, free: 29.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/0.4664, allocations: 0.9353 MB / 0.5383 GB, free: 28.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.4666, allocations: 16.19 kB / 0.5383 GB, free: 28.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002424/0.469, allocations: 1.035 MB / 0.5393 GB, free: 28.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=108): time 3.617e-06/0.469, allocations: 1.156 kB / 0.5393 GB, free: 28.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=108): time 0.03589/0.5049, allocations: 9.465 MB / 0.5485 GB, free: 26.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.505, allocations: 114.9 kB / 0.5487 GB, free: 26.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.5066, allocations: 1.029 MB / 0.5497 GB, free: 25.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002818/0.5069, allocations: 45.61 kB / 0.5497 GB, free: 25.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.5073, allocations: 0.5282 MB / 0.5502 GB, free: 25.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003566/0.5076, allocations: 389.5 kB / 0.5506 GB, free: 24.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.5078, allocations: 32.78 kB / 0.5506 GB, free: 24.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.5079, allocations: 354.1 kB / 0.551 GB, free: 24.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.5097, allocations: 0.8646 MB / 0.5518 GB, free: 24.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.5116, allocations: 1.016 MB / 0.5528 GB, free: 23.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02079/0.5324, allocations: 6.002 MB / 0.5587 GB, free: 20.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.5325, allocations: 1.938 kB / 0.5587 GB, free: 20.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01351/0.546, allocations: 5.41 MB / 0.5639 GB, free: 15.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.212e-05/0.5461, allocations: 59.41 kB / 0.564 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.5461, allocations: 0 / 0.564 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006218/0.5524, allocations: 2.137 MB / 0.5661 GB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.5539, allocations: 279.6 kB / 0.5663 GB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/0.5728, allocations: 9.721 MB / 0.5758 GB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.5747, allocations: 250.8 kB / 0.5761 GB, free: 2.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.5749, allocations: 51.14 kB / 0.5761 GB, free: 2.746 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 exciter_Type_II.firstOrder2.y:VARIABLE(flow=false start = exciter_Type_II.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 2 * 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 {(25,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0006225/0.5755, allocations: 304.8 kB / 0.5764 GB, free: 2.434 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.5757, allocations: 134.3 kB / 0.5765 GB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01554/0.5913, allocations: 5.321 MB / 0.5817 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.5913, allocations: 12 kB / 0.5818 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5913, allocations: 0 / 0.5818 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.712e-05/0.5914, allocations: 11.91 kB / 0.5818 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/0.6096, allocations: 7.189 MB / 0.5888 GB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/0.6097, allocations: 0.75 kB / 0.5888 GB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008761/0.6105, allocations: 139.8 kB / 0.5889 GB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00688/0.6174, allocations: 2.217 MB / 0.5911 GB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002431/0.6177, allocations: 24 kB / 0.5911 GB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02264/0.6404, allocations: 10.65 MB / 0.6015 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6404, allocations: 3.938 kB / 0.6015 GB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01775/0.6581, allocations: 6.429 MB / 0.6078 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000563/0.6587, allocations: 227.1 kB / 0.608 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.6589, allocations: 24 kB / 0.608 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.6602, allocations: 175.8 kB / 0.6082 GB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007735/0.661, allocations: 224.6 kB / 0.6084 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-05/0.6611, allocations: 35.98 kB / 0.6084 GB, free: 1.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001049/0.6622, allocations: 0.7006 MB / 0.6091 GB, free: 484 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6622, allocations: 0 / 0.6091 GB, free: 484 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001453/0.6636, allocations: 490.9 kB / 0.6096 GB, free: 15.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002829/0.6639, allocations: 145.8 kB / 0.6097 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007417/0.6714, allocations: 3.026 MB / 0.6127 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6714, allocations: 0 / 0.6127 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005277/0.6767, allocations: 2.069 MB / 0.6147 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.6777, allocations: 133.2 kB / 0.6148 GB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004871/0.6826, allocations: 3.067 MB / 0.6178 GB, free: 7.441 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007825/0.6834, allocations: 1.159 MB / 0.619 GB, free: 6.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004557/0.6839, allocations: 112.3 kB / 0.6191 GB, free: 6.137 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.6841, allocations: 71.42 kB / 0.6191 GB, free: 6.07 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.6841, allocations: 0 / 0.6191 GB, free: 6.07 MB / 410.7 MB Notification: Performance of Templates: time 0.03985/0.724, allocations: 24.49 MB / 0.6431 GB, free: 13.61 MB / 442.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)