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.001361/0.001361, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.37/1.37, allocations: 222.9 MB / 238.8 MB, free: 4.742 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.001675/0.001675, allocations: 200.4 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5511/0.5511, allocations: 91.88 MB / 431.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001492, allocations: 83.86 kB / 0.5012 GB, free: 8.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5061/0.5076, allocations: 71.26 MB / 0.5708 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.0174/0.5251, allocations: 20.24 MB / 0.5906 GB, free: 22.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01615/0.5413, allocations: 6.491 MB / 0.5969 GB, free: 17.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007463/0.5488, allocations: 42.25 kB / 0.5969 GB, free: 17.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005038/0.5539, allocations: 0.7579 MB / 0.5977 GB, free: 17.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.5654, allocations: 2.103 MB / 0.5997 GB, free: 16.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006932/0.5723, allocations: 2.018 MB / 0.6017 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01376/0.5861, allocations: 6.493 MB / 0.608 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004154/0.5903, allocations: 1.211 MB / 0.6092 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007099/0.5975, allocations: 2.231 MB / 0.6114 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008931/0.6064, allocations: 2.963 MB / 0.6143 GB, free: 8.656 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004269/0.6108, allocations: 299.7 kB / 0.6146 GB, free: 8.656 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005195/0.616, allocations: 0.5443 MB / 0.6151 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003873/0.6199, allocations: 1.092 MB / 0.6162 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01107/0.631, allocations: 2.445 MB / 0.6186 GB, free: 6.312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01732/0.6483, allocations: 7.805 MB / 0.6262 GB, free: 2.535 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.6484, allocations: 0 / 0.6262 GB, free: 2.535 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6484, allocations: 0 / 0.6262 GB, free: 2.535 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004527/0.6489, allocations: 1 kB / 0.6262 GB, free: 2.535 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.05687/0.7057, allocations: 9.733 MB / 0.6357 GB, free: 12.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.496e-05/0.7059, allocations: 8.031 kB / 0.6357 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01519/0.7211, allocations: 1.937 MB / 0.6376 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/0.7319, allocations: 3.347 MB / 0.6409 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001421/0.7334, allocations: 1.017 MB / 0.6419 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001991/0.7354, allocations: 323.8 kB / 0.6422 GB, free: 5.363 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.7503, allocations: 3.949 MB / 0.646 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001261/0.7504, allocations: 0 / 0.646 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001389/0.7518, allocations: 116 kB / 0.6461 GB, free: 1.227 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.46e-05/0.7519, allocations: 64 kB / 0.6462 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/0.7639, allocations: 3.8 MB / 0.6499 GB, free: 13.35 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.04648/0.8104, allocations: 15.6 MB / 0.6651 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01785/0.8283, allocations: 6.462 MB / 0.6714 GB, free: 6.473 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006605/0.835, allocations: 2.428 MB / 0.6738 GB, free: 4.023 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/0.8365, allocations: 0.766 MB / 0.6746 GB, free: 3.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008921/0.8455, allocations: 2.865 MB / 0.6774 GB, free: 172 kB / 478.1 MB Notification: Performance of pre-optimization done (n=331): time 1.177e-05/0.8455, allocations: 0 / 0.6774 GB, free: 172 kB / 478.1 MB Notification: Performance of matching and sorting (n=331): time 0.1147/0.9602, allocations: 25.86 MB / 0.7026 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.9604, allocations: 200.7 kB / 0.7028 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01328/0.9737, allocations: 4.533 MB / 0.7072 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001767/0.9755, allocations: 101.7 kB / 0.7073 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002779/0.9783, allocations: 1.747 MB / 0.709 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.003791/0.9821, allocations: 1.198 MB / 0.7102 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009907/0.992, allocations: 1.066 MB / 0.7112 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.9923, allocations: 305.1 kB / 0.7115 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009524/1.002, allocations: 3.022 MB / 0.7145 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01047/1.012, allocations: 3.537 MB / 0.7179 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01797/1.03, allocations: 6.11 MB / 0.7239 GB, free: 92 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.902e-05/1.03, allocations: 0 / 0.7239 GB, free: 92 kB / 0.5137 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.03465/1.065, allocations: 9.389 MB / 0.7331 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/1.065, allocations: 8 kB / 0.7331 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.979e-05/1.065, allocations: 11.98 kB / 0.7331 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02791/1.093, allocations: 10.3 MB / 0.7432 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006108/1.099, allocations: 0.9753 MB / 0.7441 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02049/1.12, allocations: 6.299 MB / 0.7503 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01054/1.13, allocations: 0.7292 MB / 0.751 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002951/1.133, allocations: 192 kB / 0.7511 GB, free: 4.086 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.006818/1.14, allocations: 0.7709 MB / 0.7519 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004237/1.145, allocations: 466.1 kB / 0.7523 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04282/1.187, allocations: 11.62 MB / 0.7637 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.475e-05/1.188, allocations: 36 kB / 0.7637 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/1.188, allocations: 0 / 0.7637 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001203/1.188, allocations: 15.94 kB / 0.7637 GB, free: 7.109 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.4161/1.604, allocations: 17.7 MB / 0.781 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.739e-05/1.604, allocations: 1.312 kB / 0.781 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003603/1.607, allocations: 432.9 kB / 0.7814 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01756/1.625, allocations: 4.759 MB / 0.7861 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001881/1.627, allocations: 84.42 kB / 0.7862 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06383/1.691, allocations: 19.6 MB / 0.8053 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.691, allocations: 0.9688 kB / 0.8053 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05064/1.742, allocations: 14.77 MB / 0.8197 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002754/1.744, allocations: 0.6921 MB / 0.8204 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003129/1.747, allocations: 73.97 kB / 0.8205 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007375/1.755, allocations: 381.5 kB / 0.8208 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004026/1.759, allocations: 0.6063 MB / 0.8214 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001353/1.76, allocations: 87.75 kB / 0.8215 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.008464/1.769, allocations: 2.994 MB / 0.8244 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.31e-07/1.769, allocations: 0 / 0.8244 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01046/1.779, allocations: 1.431 MB / 0.8258 GB, free: 139.8 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.002105/1.781, allocations: 242.1 kB / 0.8261 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0265/1.808, allocations: 7.856 MB / 0.8337 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/1.808, allocations: 0 / 0.8337 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01545/1.824, allocations: 4.413 MB / 0.838 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01005/1.834, allocations: 396.7 kB / 0.8384 GB, free: 128 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02527/1.859, allocations: 10.76 MB / 0.8489 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00355/1.863, allocations: 2.334 MB / 0.8512 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004296/1.867, allocations: 465.1 kB / 0.8517 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002601/1.869, allocations: 259.4 kB / 0.8519 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.803e-06/1.87, allocations: 0 / 0.8519 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.1158/1.985, allocations: 72.5 MB / 0.9227 GB, free: 41.76 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)