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: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000869/0.0008689, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.396/1.396, allocations: 223.2 MB / 239.3 MB, free: 5.52 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.0009175/0.0009174, allocations: 183.4 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5038/0.5038, allocations: 78.56 MB / 420.3 MB, free: 4.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004317, allocations: 12.23 kB / 0.4888 GB, free: 5.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1679, allocations: 69.36 MB / 0.5565 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.3002/0.4681, allocations: 19.39 MB / 0.5754 GB, free: 26.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01295/0.4811, allocations: 6.407 MB / 0.5817 GB, free: 24.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.4835, allocations: 46.56 kB / 0.5817 GB, free: 24.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.4856, allocations: 0.7657 MB / 0.5825 GB, free: 24.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006972/0.4925, allocations: 2.37 MB / 0.5848 GB, free: 23.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004323/0.4969, allocations: 2.013 MB / 0.5867 GB, free: 22.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00675/0.5036, allocations: 6.784 MB / 0.5934 GB, free: 19.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.5051, allocations: 1.198 MB / 0.5945 GB, free: 18.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003733/0.5089, allocations: 2.158 MB / 0.5966 GB, free: 17.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003828/0.5127, allocations: 2.871 MB / 0.5994 GB, free: 16.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007417/0.5135, allocations: 250 kB / 0.5997 GB, free: 16.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.5149, allocations: 0.4947 MB / 0.6002 GB, free: 16.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000721/0.5157, allocations: 1.036 MB / 0.6012 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002302/0.518, allocations: 2.392 MB / 0.6035 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008347/0.5263, allocations: 7.624 MB / 0.611 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.5264, allocations: 0.9375 kB / 0.611 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5264, allocations: 0 / 0.611 GB, free: 11.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002858/0.5267, allocations: 4 kB / 0.611 GB, free: 11.66 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.0405/0.5672, allocations: 9.859 MB / 0.6206 GB, free: 7.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.5672, allocations: 8.688 kB / 0.6206 GB, free: 7.617 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001308/0.5686, allocations: 392.6 kB / 0.621 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/0.5799, allocations: 1.952 MB / 0.6229 GB, free: 6.484 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006657/0.5866, allocations: 3.356 MB / 0.6262 GB, free: 3.953 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009597/0.5876, allocations: 1.043 MB / 0.6272 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005901/0.5882, allocations: 327.2 kB / 0.6275 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008439/0.5966, allocations: 4.138 MB / 0.6315 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.582e-05/0.5967, allocations: 3.031 kB / 0.6315 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000315/0.597, allocations: 110.8 kB / 0.6316 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.403e-05/0.5971, allocations: 69.28 kB / 0.6317 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008438/0.6055, allocations: 4.001 MB / 0.6356 GB, free: 12.56 MB / 446.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.02695/0.6325, allocations: 15.78 MB / 0.651 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01595/0.6484, allocations: 7.186 MB / 0.658 GB, free: 4.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005197/0.6537, allocations: 2.627 MB / 0.6606 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007908/0.6545, allocations: 0.766 MB / 0.6614 GB, free: 1.238 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005989/0.6605, allocations: 3.053 MB / 0.6643 GB, free: 14.13 MB / 478.1 MB Notification: Performance of pre-optimization done (n=331): time 5.661e-06/0.6605, allocations: 0 / 0.6643 GB, free: 14.13 MB / 478.1 MB Notification: Performance of matching and sorting (n=331): time 0.1114/0.7719, allocations: 30.56 MB / 0.6942 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.772, allocations: 188.8 kB / 0.6944 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009268/0.7813, allocations: 4.538 MB / 0.6988 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001048/0.7824, allocations: 101.7 kB / 0.6989 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001604/0.784, allocations: 1.747 MB / 0.7006 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001966/0.786, allocations: 1.206 MB / 0.7018 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008402/0.7868, allocations: 0.5381 MB / 0.7023 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.787, allocations: 301.1 kB / 0.7026 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006852/0.7938, allocations: 3.211 MB / 0.7057 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006953/0.8008, allocations: 3.733 MB / 0.7094 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/0.8134, allocations: 6.485 MB / 0.7157 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.8134, allocations: 0 / 0.7157 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.0214/0.8348, allocations: 9.987 MB / 0.7254 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.8349, allocations: 12.12 kB / 0.7255 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/0.8349, allocations: 8 kB / 0.7255 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02653/0.8614, allocations: 11.13 MB / 0.7363 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004608/0.8661, allocations: 0.9915 MB / 0.7373 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01689/0.883, allocations: 7.002 MB / 0.7441 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007448/0.8904, allocations: 0.8386 MB / 0.745 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000482/0.8909, allocations: 191.9 kB / 0.7451 GB, free: 10.86 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.002213/0.8932, allocations: 0.7678 MB / 0.7459 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009511/0.8941, allocations: 466 kB / 0.7463 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04065/0.9348, allocations: 13.98 MB / 0.76 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-05/0.9349, allocations: 32 kB / 0.76 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.9349, allocations: 0 / 0.76 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000104/0.935, allocations: 19.94 kB / 0.76 GB, free: 11.52 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.296/1.231, allocations: 20.06 MB / 0.7796 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-05/1.231, allocations: 2.969 kB / 0.7796 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002826/1.234, allocations: 434 kB / 0.78 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01494/1.249, allocations: 5.574 MB / 0.7855 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007717/1.25, allocations: 84.3 kB / 0.7856 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0518/1.301, allocations: 22.03 MB / 0.8071 GB, free: 157 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.302, allocations: 1.969 kB / 0.8071 GB, free: 157 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04244/1.344, allocations: 17.32 MB / 0.824 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002191/1.346, allocations: 0.7133 MB / 0.8247 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005959/1.347, allocations: 64 kB / 0.8248 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004216/1.351, allocations: 499.5 kB / 0.8252 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001929/1.353, allocations: 0.605 MB / 0.8258 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/1.353, allocations: 92.3 kB / 0.8259 GB, free: 151 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004055/1.357, allocations: 2.994 MB / 0.8288 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.71e-07/1.357, allocations: 0 / 0.8288 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003411/1.361, allocations: 1.437 MB / 0.8302 GB, free: 147.1 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.04116/1.402, allocations: 17.77 MB / 0.8476 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02066/1.423, allocations: 8.603 MB / 0.856 GB, free: 122 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.423, allocations: 0.6562 kB / 0.856 GB, free: 122 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01239/1.435, allocations: 4.992 MB / 0.8609 GB, free: 117 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/1.439, allocations: 396.7 kB / 0.8612 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1335/1.573, allocations: 66.71 MB / 0.9264 GB, free: 46.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002032/1.575, allocations: 2.341 MB / 0.9287 GB, free: 43.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002939/1.578, allocations: 451.9 kB / 0.9291 GB, free: 43.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003456/1.581, allocations: 1.975 MB / 0.931 GB, free: 41.52 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/1.581, allocations: 0 / 0.931 GB, free: 41.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4186/2, allocations: 112.6 MB / 1.041 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/2, allocations: 219 kB / 1.041 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.579/6.579, allocations: 0 / 1.041 GB, free: 158.8 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)