Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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 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_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_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.001615/0.001615, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001261/0.001261, allocations: 192.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4435/0.4435, allocations: 78.52 MB / 418.4 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 75.88 kB / 0.5536 GB, free: 1.016 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3049, allocations: 68.16 MB / 0.6202 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01483/0.3197, allocations: 19.51 MB / 0.6392 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.3324, allocations: 6.399 MB / 0.6455 GB, free: 260 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0046/0.3371, allocations: 39.94 kB / 0.6455 GB, free: 220 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003696/0.3408, allocations: 0.9685 MB / 0.6465 GB, free: 15.24 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008742/0.3496, allocations: 2.685 MB / 0.6491 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005129/0.3547, allocations: 2.174 MB / 0.6512 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009442/0.3642, allocations: 7.336 MB / 0.6584 GB, free: 3.047 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/0.3663, allocations: 1.326 MB / 0.6597 GB, free: 1.664 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004005/0.3703, allocations: 2.716 MB / 0.6623 GB, free: 14.94 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004573/0.3749, allocations: 3.342 MB / 0.6656 GB, free: 11.58 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001775/0.3767, allocations: 0.6719 MB / 0.6662 GB, free: 10.91 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.379, allocations: 0.9372 MB / 0.6671 GB, free: 9.973 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.3805, allocations: 1.487 MB / 0.6686 GB, free: 8.48 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003425/0.3839, allocations: 2.86 MB / 0.6714 GB, free: 5.605 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009177/0.3931, allocations: 8.236 MB / 0.6794 GB, free: 13.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3932, allocations: 0 / 0.6794 GB, free: 13.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.3932, allocations: 0 / 0.6794 GB, free: 13.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001861/0.3934, allocations: 3.938 kB / 0.6794 GB, free: 13.34 MB / 494.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.04051/0.4339, allocations: 10.7 MB / 0.6899 GB, free: 2.539 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4339, allocations: 8.031 kB / 0.6899 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/0.4456, allocations: 1.971 MB / 0.6918 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006475/0.4521, allocations: 3.398 MB / 0.6951 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/0.4532, allocations: 1.001 MB / 0.6961 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007422/0.4539, allocations: 327.9 kB / 0.6964 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008604/0.4626, allocations: 3.949 MB / 0.7003 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.092e-05/0.4626, allocations: 0 / 0.7003 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.463, allocations: 112 kB / 0.7004 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-05/0.463, allocations: 68 kB / 0.7005 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008939/0.472, allocations: 3.8 MB / 0.7042 GB, free: 3.598 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.02615/0.4982, allocations: 15.54 MB / 0.7193 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/0.5135, allocations: 6.458 MB / 0.7257 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005296/0.5188, allocations: 2.432 MB / 0.728 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008023/0.5197, allocations: 0.7699 MB / 0.7288 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006393/0.5261, allocations: 2.858 MB / 0.7316 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=331): time 6.071e-06/0.5261, allocations: 3.938 kB / 0.7316 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=331): time 0.1066/0.6328, allocations: 25.88 MB / 0.7568 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.6329, allocations: 188.8 kB / 0.757 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007948/0.6409, allocations: 4.543 MB / 0.7615 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/0.6419, allocations: 97.7 kB / 0.7616 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001476/0.6434, allocations: 1.776 MB / 0.7633 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001596/0.645, allocations: 1.259 MB / 0.7645 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00201/0.647, allocations: 1.063 MB / 0.7656 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.6471, allocations: 301.1 kB / 0.7658 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006481/0.6536, allocations: 3.018 MB / 0.7688 GB, free: 176 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.313/0.9667, allocations: 3.548 MB / 0.7723 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/0.9806, allocations: 6.102 MB / 0.7782 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-05/0.9807, allocations: 1.812 kB / 0.7782 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.01986/1.001, allocations: 9.42 MB / 0.7874 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/1.001, allocations: 7.562 kB / 0.7874 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/1.001, allocations: 7.75 kB / 0.7874 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02258/1.023, allocations: 10.29 MB / 0.7975 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004561/1.028, allocations: 0.991 MB / 0.7984 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/1.042, allocations: 6.298 MB / 0.8046 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006502/1.049, allocations: 0.7367 MB / 0.8053 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005922/1.049, allocations: 194 kB / 0.8055 GB, free: 107.9 MB / 0.5606 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.001562/1.051, allocations: 0.7699 MB / 0.8063 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008259/1.052, allocations: 497 kB / 0.8067 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03392/1.086, allocations: 11.61 MB / 0.8181 GB, free: 96.76 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.341e-05/1.086, allocations: 35.94 kB / 0.8181 GB, free: 96.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/1.086, allocations: 2.625 kB / 0.8181 GB, free: 96.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.698e-05/1.086, allocations: 23.92 kB / 0.8181 GB, free: 96.7 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.0409/1.127, allocations: 17.67 MB / 0.8354 GB, free: 78.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.076e-05/1.127, allocations: 4 kB / 0.8354 GB, free: 78.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00267/1.13, allocations: 431.4 kB / 0.8358 GB, free: 78.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01452/1.144, allocations: 4.753 MB / 0.8404 GB, free: 73.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008142/1.145, allocations: 87.91 kB / 0.8405 GB, free: 73.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04647/1.191, allocations: 21.48 MB / 0.8615 GB, free: 52.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.192, allocations: 4 kB / 0.8615 GB, free: 52.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04054/1.232, allocations: 14.79 MB / 0.876 GB, free: 37.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/1.234, allocations: 0.7186 MB / 0.8767 GB, free: 36.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001338/1.235, allocations: 79.94 kB / 0.8767 GB, free: 36.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004279/1.239, allocations: 379.5 kB / 0.8771 GB, free: 36.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002064/1.242, allocations: 0.6199 MB / 0.8777 GB, free: 35.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000297/1.242, allocations: 87.98 kB / 0.8778 GB, free: 35.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004212/1.246, allocations: 2.996 MB / 0.8807 GB, free: 32.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.81e-07/1.246, allocations: 0 / 0.8807 GB, free: 32.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003504/1.25, allocations: 1.445 MB / 0.8821 GB, free: 30.95 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.0004983/1.25, allocations: 236.6 kB / 0.8823 GB, free: 30.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01859/1.269, allocations: 7.938 MB / 0.8901 GB, free: 22.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.269, allocations: 0 / 0.8901 GB, free: 22.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0119/1.281, allocations: 4.515 MB / 0.8945 GB, free: 18.22 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/1.284, allocations: 412 kB / 0.8949 GB, free: 17.83 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/1.3, allocations: 9.303 MB / 0.904 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/1.301, allocations: 2.333 MB / 0.9063 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002136/1.303, allocations: 453.2 kB / 0.9067 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/1.305, allocations: 275.4 kB / 0.907 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/1.305, allocations: 0 / 0.907 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of Templates: time 0.1196/1.424, allocations: 78.77 MB / 0.9839 GB, free: 6.742 MB / 0.6387 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)