Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL.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.PSSE.GENSAL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL") translateModel(OpenIPSL.Examples.Machines.PSSE.GENSAL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 175.8 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.523/1.523, allocations: 225.7 MB / 241.9 MB, free: 14.45 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.0008077/0.0008077, allocations: 92.53 kB / 293 MB, free: 4.902 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.1691/0.1691, allocations: 43.18 MB / 387.4 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 12 kB / 458.6 MB, free: 73.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0972/0.09754, allocations: 60.5 MB / 0.5069 GB, free: 13.2 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSSE.GENSAL): time 0.004474/0.1021, allocations: 6.449 MB / 0.5132 GB, free: 6.723 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003495/0.1056, allocations: 2.871 MB / 0.516 GB, free: 3.676 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005058/0.1061, allocations: 12 kB / 0.516 GB, free: 3.664 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004197/0.1066, allocations: 206.7 kB / 0.5162 GB, free: 3.461 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.1087, allocations: 1.562 MB / 0.5177 GB, free: 1.766 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1097, allocations: 0.5228 MB / 0.5183 GB, free: 1.242 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001774/0.1115, allocations: 1.8 MB / 0.52 GB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.112, allocations: 276.8 kB / 0.5203 GB, free: 15.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007579/0.1127, allocations: 0.6455 MB / 0.5209 GB, free: 14.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009633/0.1137, allocations: 0.8828 MB / 0.5218 GB, free: 13.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.1139, allocations: 72 kB / 0.5218 GB, free: 13.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006226/0.1145, allocations: 275.8 kB / 0.5221 GB, free: 13.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.1148, allocations: 298.5 kB / 0.5224 GB, free: 12.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006473/0.1154, allocations: 0.7045 MB / 0.5231 GB, free: 12.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.1172, allocations: 1.759 MB / 0.5248 GB, free: 10.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1173, allocations: 0 / 0.5248 GB, free: 10.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1173, allocations: 0 / 0.5248 GB, free: 10.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.1173, allocations: 0 / 0.5248 GB, free: 10.5 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.01217/0.1295, allocations: 3.412 MB / 0.5281 GB, free: 7.027 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1295, allocations: 8.031 kB / 0.5281 GB, free: 7.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004366/0.1339, allocations: 0.7162 MB / 0.5288 GB, free: 6.301 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.1354, allocations: 0.8989 MB / 0.5297 GB, free: 5.348 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/0.1358, allocations: 373.5 kB / 0.5301 GB, free: 4.926 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.136, allocations: 84 kB / 0.5301 GB, free: 4.844 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/0.1386, allocations: 1.293 MB / 0.5314 GB, free: 3.539 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.1387, allocations: 3.938 kB / 0.5314 GB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.755e-05/0.1388, allocations: 31.94 kB / 0.5314 GB, free: 3.504 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.1388, allocations: 20 kB / 0.5315 GB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/0.1413, allocations: 1.242 MB / 0.5327 GB, free: 2.242 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.007106/0.1485, allocations: 4.158 MB / 0.5367 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007921/0.1564, allocations: 3.217 MB / 0.5399 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/0.1582, allocations: 0.8948 MB / 0.5407 GB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.1584, allocations: 20.98 kB / 0.5408 GB, free: 9.633 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1584, allocations: 43.56 kB / 0.5408 GB, free: 9.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 3.025e-06/0.1584, allocations: 0 / 0.5408 GB, free: 9.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=107): time 0.2337/0.3921, allocations: 11.92 MB / 0.5525 GB, free: 47.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3922, allocations: 88.73 kB / 0.5525 GB, free: 47.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.3939, allocations: 1.072 MB / 0.5536 GB, free: 47.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003297/0.3942, allocations: 46.7 kB / 0.5536 GB, free: 47.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/0.3947, allocations: 0.4951 MB / 0.5541 GB, free: 47.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004207/0.3951, allocations: 391.6 kB / 0.5545 GB, free: 47.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.3952, allocations: 29.06 kB / 0.5545 GB, free: 47.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3953, allocations: 375.9 kB / 0.5549 GB, free: 47.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/0.3976, allocations: 0.9245 MB / 0.5558 GB, free: 46.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/0.3996, allocations: 1.096 MB / 0.5568 GB, free: 46.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003616/0.4032, allocations: 2.023 MB / 0.5588 GB, free: 45.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.4033, allocations: 1.219 kB / 0.5588 GB, free: 45.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01598/0.4192, allocations: 6.078 MB / 0.5648 GB, free: 44.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.4193, allocations: 6.969 kB / 0.5648 GB, free: 44.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.4193, allocations: 3.625 kB / 0.5648 GB, free: 44.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008578/0.4279, allocations: 2.743 MB / 0.5674 GB, free: 43.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.429, allocations: 232.5 kB / 0.5677 GB, free: 43.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005208/0.4342, allocations: 2.911 MB / 0.5705 GB, free: 41.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.4357, allocations: 254.5 kB / 0.5708 GB, free: 41.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.4358, allocations: 55.52 kB / 0.5708 GB, free: 41.78 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (142): * Single equations (assignments): 141 * 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 {(28,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0003805/0.4362, allocations: 265.6 kB / 0.5711 GB, free: 41.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.4364, allocations: 128.2 kB / 0.5712 GB, free: 41.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/0.4503, allocations: 5.664 MB / 0.5767 GB, free: 35.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.4504, allocations: 16 kB / 0.5767 GB, free: 35.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4504, allocations: 3.938 kB / 0.5767 GB, free: 35.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.4504, allocations: 3.984 kB / 0.5767 GB, free: 35.86 MB / 378.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 postOpt removeSimpleEquations (simulation): time 0.01554/0.4659, allocations: 7.355 MB / 0.5839 GB, free: 28.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.466, allocations: 0 / 0.5839 GB, free: 28.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/0.4667, allocations: 107.8 kB / 0.584 GB, free: 28.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006685/0.4734, allocations: 2.52 MB / 0.5865 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001672/0.4736, allocations: 16 kB / 0.5865 GB, free: 25.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02077/0.4943, allocations: 10.3 MB / 0.5966 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4944, allocations: 0 / 0.5966 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01622/0.5106, allocations: 6.793 MB / 0.6032 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004388/0.5111, allocations: 235.1 kB / 0.6034 GB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.5113, allocations: 20 kB / 0.6034 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.5125, allocations: 152.4 kB / 0.6036 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007169/0.5132, allocations: 233 kB / 0.6038 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.593e-05/0.5133, allocations: 31.98 kB / 0.6038 GB, free: 7.824 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007544/0.514, allocations: 0.7131 MB / 0.6045 GB, free: 7.105 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5141, allocations: 0 / 0.6045 GB, free: 7.105 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001078/0.5151, allocations: 471 kB / 0.605 GB, free: 6.648 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,gENCLS.omega) * 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 (64): * Single equations (assignments): 63 * 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,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002548/0.5154, allocations: 153.3 kB / 0.6051 GB, free: 6.492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007031/0.5224, allocations: 2.866 MB / 0.6079 GB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5225, allocations: 4.062 kB / 0.6079 GB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005467/0.5279, allocations: 2.046 MB / 0.6099 GB, free: 1.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.5293, allocations: 108.6 kB / 0.61 GB, free: 1.461 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/0.5338, allocations: 3.073 MB / 0.613 GB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006707/0.5345, allocations: 1.117 MB / 0.6141 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004717/0.535, allocations: 108.2 kB / 0.6142 GB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.5352, allocations: 75.42 kB / 0.6143 GB, free: 13.05 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5352, allocations: 4 kB / 0.6143 GB, free: 13.05 MB / 394.7 MB Notification: Performance of Templates: time 0.03548/0.5707, allocations: 22.96 MB / 0.6367 GB, free: 6.086 MB / 410.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL.pipe 2>&1)