Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 221.5 MB / 229.6 MB, free: 7.5 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008763/0.0008763, allocations: 89.41 kB / 280.5 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.454/0.454, allocations: 78.07 MB / 409.3 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.53e-05/1.531e-05, allocations: 4 kB / 484.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1321, allocations: 69.35 MB / 0.5413 GB, free: 6.809 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5534/0.6856, allocations: 115.6 MB / 0.6541 GB, free: 15.94 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/0.686, allocations: 92.88 kB / 0.6542 GB, free: 15.85 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1558/0.8418, allocations: 52.55 MB / 0.7056 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8419, allocations: 0 / 0.7056 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001569/0.842, allocations: 40 kB / 0.7056 GB, free: 11.28 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.007066/0.8491, allocations: 2.476 MB / 0.708 GB, free: 8.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.8491, allocations: 12.03 kB / 0.708 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003467/0.8526, allocations: 0.6138 MB / 0.7086 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003083/0.8557, allocations: 1.246 MB / 0.7098 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006418/0.8564, allocations: 0.533 MB / 0.7104 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000407/0.8568, allocations: 83.91 kB / 0.7104 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002956/0.8598, allocations: 1.31 MB / 0.7117 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.8625, allocations: 1.378 MB / 0.7131 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.8625, allocations: 4 kB / 0.7131 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.8627, allocations: 0 / 0.7131 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/0.8627, allocations: 32.66 kB / 0.7131 GB, free: 3.336 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01231/0.875, allocations: 6.057 MB / 0.719 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008483/0.8835, allocations: 3.414 MB / 0.7223 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.8853, allocations: 0.8186 MB / 0.7231 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007414/0.886, allocations: 0.7339 MB / 0.7239 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002008/0.888, allocations: 0.9827 MB / 0.7248 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=159): time 4.278e-06/0.8881, allocations: 0 / 0.7248 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of matching and sorting (n=159): time 0.01572/0.9038, allocations: 5.111 MB / 0.7298 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.279e-05/0.9039, allocations: 149.8 kB / 0.73 GB, free: 1.484 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00281/0.9068, allocations: 1.295 MB / 0.7312 GB, free: 200 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004086/0.9072, allocations: 29.7 kB / 0.7312 GB, free: 164 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008047/0.908, allocations: 0.8172 MB / 0.732 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/0.9091, allocations: 0.5349 MB / 0.7326 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003194/0.9094, allocations: 0 / 0.7326 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002204/0.9096, allocations: 374.6 kB / 0.7329 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.9112, allocations: 0.6836 MB / 0.7336 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.9127, allocations: 0.8858 MB / 0.7345 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.9146, allocations: 0.7751 MB / 0.7352 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.9146, allocations: 0 / 0.7352 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.005305/0.9199, allocations: 2.352 MB / 0.7375 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007695/0.9207, allocations: 1.747 MB / 0.7392 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.9208, allocations: 4 kB / 0.7392 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007921/0.9287, allocations: 2.29 MB / 0.7415 GB, free: 5.484 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.9304, allocations: 303.3 kB / 0.7417 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005458/0.9359, allocations: 2.425 MB / 0.7441 GB, free: 2.742 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/0.9387, allocations: 266.5 kB / 0.7444 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003672/0.9391, allocations: 59.98 kB / 0.7444 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.9391, allocations: 4 kB / 0.7444 GB, free: 2.418 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004814/0.944, allocations: 2.119 MB / 0.7465 GB, free: 304 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.944, allocations: 8 kB / 0.7465 GB, free: 296 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007702/0.9517, allocations: 2.281 MB / 0.7487 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.9532, allocations: 291.6 kB / 0.749 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005044/0.9583, allocations: 2.416 MB / 0.7514 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00318/0.9615, allocations: 256 kB / 0.7516 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004051/0.9619, allocations: 59.98 kB / 0.7517 GB, free: 10.97 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,iEEEG1.limIntegrator.local_reset,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0009509/0.9629, allocations: 142.5 kB / 0.7518 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/0.9643, allocations: 201.5 kB / 0.752 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01693/0.9812, allocations: 5.248 MB / 0.7571 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.254e-05/0.9813, allocations: 16 kB / 0.7571 GB, free: 5.34 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.9813, allocations: 3.938 kB / 0.7571 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.487e-05/0.9814, allocations: 19.91 kB / 0.7572 GB, free: 5.316 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.3234/1.305, allocations: 7.548 MB / 0.7645 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/1.305, allocations: 0 / 0.7645 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/1.306, allocations: 237.1 kB / 0.7648 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006326/1.313, allocations: 1.979 MB / 0.7667 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003128/1.313, allocations: 14.47 kB / 0.7667 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01601/1.329, allocations: 7.711 MB / 0.7742 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.329, allocations: 0 / 0.7742 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0171/1.346, allocations: 6.411 MB / 0.7805 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.347, allocations: 319.2 kB / 0.7808 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003583/1.348, allocations: 10.06 kB / 0.7808 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/1.35, allocations: 183.5 kB / 0.781 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008013/1.35, allocations: 289.3 kB / 0.7813 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/1.35, allocations: 43.66 kB / 0.7813 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001435/1.352, allocations: 0.978 MB / 0.7823 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.352, allocations: 0 / 0.7823 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002407/1.354, allocations: 0.8381 MB / 0.7831 GB, free: 126.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,iEEEG1.imLeadLag.TF.x_scaled[1],iEEEG1.imSimpleLag.state,iEEEG1.imSimpleLag1.state,iEEEG1.imSimpleLag2.state,iEEEG1.imSimpleLag3.state,iEEEG1.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004275/1.355, allocations: 183.5 kB / 0.7833 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01263/1.367, allocations: 4.482 MB / 0.7876 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.367, allocations: 3.938 kB / 0.7876 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005403/1.373, allocations: 1.975 MB / 0.7896 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/1.374, allocations: 143.3 kB / 0.7897 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005567/1.38, allocations: 3.057 MB / 0.7927 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008515/1.381, allocations: 1.448 MB / 0.7941 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001613/1.382, allocations: 310.2 kB / 0.7944 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/1.383, allocations: 85.59 kB / 0.7945 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of SimCode: time 8.52e-07/1.383, allocations: 0 / 0.7945 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.0517/1.434, allocations: 33.28 MB / 0.827 GB, free: 122.8 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe 2>&1)