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.001187/0.001187, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.568/1.568, allocations: 223.3 MB / 239.4 MB, free: 5.512 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.001151/0.001151, allocations: 183.5 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6036/0.6036, allocations: 91.91 MB / 433.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004684, allocations: 12 kB / 0.5048 GB, free: 7.293 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4895, allocations: 72.47 MB / 0.5755 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.0187/0.5083, allocations: 19.43 MB / 0.5945 GB, free: 22.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01614/0.5245, allocations: 6.421 MB / 0.6008 GB, free: 17.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006194/0.5308, allocations: 41.03 kB / 0.6008 GB, free: 17.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004086/0.5349, allocations: 0.7649 MB / 0.6015 GB, free: 17.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.5454, allocations: 2.083 MB / 0.6036 GB, free: 16.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00615/0.5515, allocations: 2.023 MB / 0.6056 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01216/0.5637, allocations: 6.476 MB / 0.6119 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003391/0.5671, allocations: 1.2 MB / 0.6131 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006084/0.5732, allocations: 2.12 MB / 0.6151 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007198/0.5804, allocations: 2.83 MB / 0.6179 GB, free: 8.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00298/0.5834, allocations: 250.8 kB / 0.6181 GB, free: 8.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00466/0.5881, allocations: 0.4912 MB / 0.6186 GB, free: 8.793 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003202/0.5913, allocations: 1.014 MB / 0.6196 GB, free: 8.207 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008752/0.6001, allocations: 2.379 MB / 0.6219 GB, free: 6.613 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01589/0.616, allocations: 7.595 MB / 0.6293 GB, free: 2.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.6161, allocations: 0 / 0.6293 GB, free: 2.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.438e-06/0.6161, allocations: 1.344 kB / 0.6293 GB, free: 2.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005352/0.6167, allocations: 0 / 0.6293 GB, free: 2.965 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.0433/0.66, allocations: 9.034 MB / 0.6382 GB, free: 13.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/0.6601, allocations: 12.03 kB / 0.6382 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01369/0.6737, allocations: 1.945 MB / 0.6401 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/0.6842, allocations: 3.363 MB / 0.6434 GB, free: 8.051 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00142/0.6856, allocations: 1.028 MB / 0.6444 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001918/0.6875, allocations: 331.8 kB / 0.6447 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/0.6988, allocations: 4.144 MB / 0.6487 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.181e-05/0.6989, allocations: 3.938 kB / 0.6487 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003889/0.6992, allocations: 112 kB / 0.6488 GB, free: 2.203 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.034e-05/0.6993, allocations: 64 kB / 0.6489 GB, free: 2.141 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.7093, allocations: 4.011 MB / 0.6528 GB, free: 14.11 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.03688/0.7463, allocations: 15.77 MB / 0.6682 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0181/0.7644, allocations: 7.202 MB / 0.6752 GB, free: 6.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006864/0.7713, allocations: 2.624 MB / 0.6778 GB, free: 3.676 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.7724, allocations: 0.766 MB / 0.6786 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007524/0.7799, allocations: 3.047 MB / 0.6815 GB, free: 15.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=331): time 5.901e-06/0.78, allocations: 0 / 0.6815 GB, free: 15.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=331): time 0.1208/0.9008, allocations: 30.55 MB / 0.7114 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.901, allocations: 200.8 kB / 0.7116 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01208/0.9131, allocations: 4.541 MB / 0.716 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001513/0.9147, allocations: 101.7 kB / 0.7161 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001834/0.9165, allocations: 1.747 MB / 0.7178 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002791/0.9193, allocations: 1.202 MB / 0.719 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001447/0.9208, allocations: 0.5421 MB / 0.7195 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.9209, allocations: 301.1 kB / 0.7198 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00826/0.9292, allocations: 3.205 MB / 0.7229 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008996/0.9382, allocations: 3.733 MB / 0.7266 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01628/0.9546, allocations: 6.481 MB / 0.7329 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.821e-05/0.9547, allocations: 4 kB / 0.7329 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02901/0.9837, allocations: 9.983 MB / 0.7426 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/0.9838, allocations: 8 kB / 0.7427 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.604e-05/0.9838, allocations: 11.98 kB / 0.7427 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02817/1.012, allocations: 11.15 MB / 0.7536 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005601/1.018, allocations: 0.9792 MB / 0.7545 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01831/1.036, allocations: 7.006 MB / 0.7614 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00976/1.046, allocations: 0.8386 MB / 0.7622 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001688/1.048, allocations: 188 kB / 0.7623 GB, free: 12.36 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.003924/1.052, allocations: 0.7766 MB / 0.7631 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00179/1.053, allocations: 470 kB / 0.7636 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4252/1.478, allocations: 13.96 MB / 0.7772 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.25e-05/1.479, allocations: 34.09 kB / 0.7772 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/1.479, allocations: 5.297 kB / 0.7772 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001119/1.479, allocations: 16.45 kB / 0.7772 GB, free: 158.5 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.06004/1.539, allocations: 20.07 MB / 0.7968 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.96e-05/1.539, allocations: 5.125 kB / 0.7968 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00351/1.542, allocations: 440.3 kB / 0.7973 GB, free: 154 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01887/1.561, allocations: 5.566 MB / 0.8027 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001343/1.563, allocations: 81.66 kB / 0.8028 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05279/1.616, allocations: 22.04 MB / 0.8243 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/1.616, allocations: 7.812 kB / 0.8243 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04804/1.664, allocations: 17.31 MB / 0.8412 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002751/1.666, allocations: 0.7074 MB / 0.8419 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002445/1.669, allocations: 72 kB / 0.842 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006419/1.675, allocations: 0.4917 MB / 0.8425 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002884/1.678, allocations: 0.6002 MB / 0.843 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005668/1.679, allocations: 95.97 kB / 0.8431 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00669/1.686, allocations: 2.992 MB / 0.8461 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.182e-06/1.686, allocations: 0 / 0.8461 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007678/1.693, allocations: 1.434 MB / 0.8475 GB, free: 122.3 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.0009636/1.694, allocations: 236.8 kB / 0.8477 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02251/1.717, allocations: 8.607 MB / 0.8561 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/1.717, allocations: 3.891 kB / 0.8561 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01461/1.731, allocations: 4.991 MB / 0.861 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007151/1.739, allocations: 398.8 kB / 0.8613 GB, free: 108 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/1.757, allocations: 11.15 MB / 0.8722 GB, free: 96.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/1.759, allocations: 2.334 MB / 0.8745 GB, free: 94.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003268/1.762, allocations: 453.1 kB / 0.8749 GB, free: 94.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/1.763, allocations: 263.4 kB / 0.8752 GB, free: 93.81 MB / 0.5606 GB Notification: Performance of SimCode: time 1.673e-06/1.763, allocations: 0 / 0.8752 GB, free: 93.81 MB / 0.5606 GB Notification: Performance of Templates: time 0.1135/1.877, allocations: 70.97 MB / 0.9445 GB, free: 22.86 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)