Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006581/0.006581, allocations: 100.8 kB / 15.87 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 239.5 MB, free: 4.816 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 188.5 kB / 289.8 MB, free: 2.547 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5496/0.5496, allocations: 91.89 MB / 431.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 79.86 kB / 0.5018 GB, free: 8.207 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4075, allocations: 71.26 MB / 0.5714 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.0138/0.4214, allocations: 20.25 MB / 0.5912 GB, free: 22.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01228/0.4337, allocations: 6.481 MB / 0.5975 GB, free: 17.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0051/0.4389, allocations: 45.34 kB / 0.5976 GB, free: 17.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003375/0.4423, allocations: 0.7551 MB / 0.5983 GB, free: 17.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00742/0.4497, allocations: 2.106 MB / 0.6004 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004907/0.4547, allocations: 2.016 MB / 0.6024 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009501/0.4642, allocations: 6.492 MB / 0.6087 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002938/0.4671, allocations: 1.204 MB / 0.6099 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004779/0.4719, allocations: 2.234 MB / 0.612 GB, free: 9.926 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005602/0.4776, allocations: 2.958 MB / 0.6149 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002755/0.4804, allocations: 305.1 kB / 0.6152 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00394/0.4843, allocations: 0.5474 MB / 0.6158 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002864/0.4872, allocations: 1.085 MB / 0.6168 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006501/0.4937, allocations: 2.453 MB / 0.6192 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0098/0.5035, allocations: 6.556 MB / 0.6256 GB, free: 3.426 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5036, allocations: 1.406 kB / 0.6256 GB, free: 3.426 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5036, allocations: 0 / 0.6256 GB, free: 3.426 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003185/0.5039, allocations: 0 / 0.6256 GB, free: 3.426 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.04286/0.5468, allocations: 9.739 MB / 0.6351 GB, free: 13.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.5469, allocations: 12.03 kB / 0.6351 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01359/0.5605, allocations: 1.941 MB / 0.637 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009786/0.5703, allocations: 3.351 MB / 0.6403 GB, free: 8.152 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001333/0.5717, allocations: 1.005 MB / 0.6413 GB, free: 6.988 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001677/0.5734, allocations: 335.8 kB / 0.6416 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/0.5858, allocations: 3.945 MB / 0.6455 GB, free: 2.641 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.648e-05/0.5859, allocations: 0 / 0.6455 GB, free: 2.641 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007623/0.5867, allocations: 112 kB / 0.6456 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.4e-05/0.5868, allocations: 68 kB / 0.6456 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.5971, allocations: 3.8 MB / 0.6493 GB, free: 14.65 MB / 462.1 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.03805/0.6351, allocations: 15.58 MB / 0.6646 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0164/0.6516, allocations: 6.463 MB / 0.6709 GB, free: 7.781 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005922/0.6575, allocations: 2.44 MB / 0.6733 GB, free: 5.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/0.6587, allocations: 0.7621 MB / 0.674 GB, free: 4.391 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007282/0.666, allocations: 2.868 MB / 0.6768 GB, free: 1.469 MB / 478.1 MB Notification: Performance of pre-optimization done (n=331): time 7.744e-06/0.666, allocations: 0 / 0.6768 GB, free: 1.469 MB / 478.1 MB Notification: Performance of matching and sorting (n=331): time 0.1077/0.7737, allocations: 25.86 MB / 0.7021 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002234/0.774, allocations: 188.8 kB / 0.7022 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01297/0.787, allocations: 4.541 MB / 0.7067 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00135/0.7884, allocations: 97.7 kB / 0.7068 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002383/0.7908, allocations: 1.751 MB / 0.7085 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00266/0.7935, allocations: 1.202 MB / 0.7096 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005651/0.7991, allocations: 1.063 MB / 0.7107 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.7993, allocations: 305.1 kB / 0.711 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008171/0.8075, allocations: 3.018 MB / 0.7139 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008666/0.8162, allocations: 3.545 MB / 0.7174 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01518/0.8314, allocations: 6.094 MB / 0.7233 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.388e-05/0.8314, allocations: 8 kB / 0.7233 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02907/0.8605, allocations: 9.393 MB / 0.7325 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.8606, allocations: 8 kB / 0.7325 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.235e-05/0.8607, allocations: 8 kB / 0.7325 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02704/0.8877, allocations: 10.3 MB / 0.7426 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005481/0.8933, allocations: 0.9792 MB / 0.7435 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/0.9118, allocations: 6.287 MB / 0.7497 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008634/0.9205, allocations: 0.737 MB / 0.7504 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001638/0.9222, allocations: 192 kB / 0.7506 GB, free: 5.395 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (584): * Single equations (assignments): 581 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(80,72)} Notification: Performance of prepare postOptimizeDAE: time 0.003992/0.9262, allocations: 0.7625 MB / 0.7513 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002386/0.9286, allocations: 462.1 kB / 0.7518 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04092/0.9695, allocations: 11.62 MB / 0.7631 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-05/0.9696, allocations: 36 kB / 0.7632 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/0.9697, allocations: 7.938 kB / 0.7632 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001214/0.9698, allocations: 15.94 kB / 0.7632 GB, free: 8.418 MB / 0.5606 GB 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.3344/1.304, allocations: 17.7 MB / 0.7805 GB, free: 157 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-05/1.304, allocations: 2.906 kB / 0.7805 GB, free: 157 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003108/1.307, allocations: 431.2 kB / 0.7809 GB, free: 157 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01545/1.323, allocations: 4.756 MB / 0.7855 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001177/1.324, allocations: 76.06 kB / 0.7856 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05498/1.379, allocations: 19.6 MB / 0.8047 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/1.379, allocations: 6.219 kB / 0.8047 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04467/1.424, allocations: 14.76 MB / 0.8192 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002253/1.426, allocations: 0.6999 MB / 0.8198 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002294/1.428, allocations: 72.08 kB / 0.8199 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006126/1.435, allocations: 385.2 kB / 0.8203 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003141/1.438, allocations: 0.603 MB / 0.8209 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008845/1.439, allocations: 97.19 kB / 0.821 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006687/1.445, allocations: 2.986 MB / 0.8239 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.21e-07/1.445, allocations: 0 / 0.8239 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007865/1.453, allocations: 1.434 MB / 0.8253 GB, free: 141 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * 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 {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001381/1.455, allocations: 239.7 kB / 0.8255 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02263/1.477, allocations: 7.847 MB / 0.8332 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/1.477, allocations: 4 kB / 0.8332 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01364/1.491, allocations: 4.387 MB / 0.8375 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007377/1.498, allocations: 402.2 kB / 0.8378 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0238/1.522, allocations: 10.85 MB / 0.8484 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002601/1.525, allocations: 2.334 MB / 0.8507 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003073/1.528, allocations: 275.4 kB / 0.851 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.153e-06/1.528, allocations: 0 / 0.851 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.108/1.636, allocations: 79.34 MB / 0.9285 GB, free: 36.46 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)