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.006461/0.00646, allocations: 99.05 kB / 15.73 MB, free: 6.047 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.632/1.632, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.002083/0.002083, allocations: 188.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5743/0.5743, allocations: 78.53 MB / 418.4 MB, free: 3.168 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00234/0.002341, allocations: 87.81 kB / 0.5531 GB, free: 1.469 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4592, allocations: 68.16 MB / 0.6197 GB, free: 9.305 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01993/0.4791, allocations: 19.5 MB / 0.6388 GB, free: 6.602 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02155/0.5008, allocations: 6.399 MB / 0.645 GB, free: 192 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008793/0.5097, allocations: 43.94 kB / 0.645 GB, free: 148 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005128/0.5148, allocations: 0.9724 MB / 0.646 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01256/0.5275, allocations: 2.692 MB / 0.6486 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006616/0.5341, allocations: 2.171 MB / 0.6507 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01453/0.5487, allocations: 7.339 MB / 0.6579 GB, free: 2.965 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003046/0.5518, allocations: 1.319 MB / 0.6592 GB, free: 1.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006166/0.558, allocations: 2.72 MB / 0.6619 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007645/0.5657, allocations: 3.338 MB / 0.6651 GB, free: 11.51 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003302/0.569, allocations: 0.6719 MB / 0.6658 GB, free: 10.84 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003811/0.5728, allocations: 0.9411 MB / 0.6667 GB, free: 9.895 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002621/0.5755, allocations: 1.483 MB / 0.6681 GB, free: 8.406 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005952/0.5815, allocations: 2.856 MB / 0.6709 GB, free: 5.535 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.5955, allocations: 8.235 MB / 0.679 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.374e-05/0.5956, allocations: 0 / 0.679 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.5956, allocations: 7.938 kB / 0.679 GB, free: 13.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003062/0.5959, allocations: 0 / 0.679 GB, free: 13.26 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.04921/0.6451, allocations: 10.7 MB / 0.6894 GB, free: 2.465 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/0.6452, allocations: 12.03 kB / 0.6894 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001913/0.6471, allocations: 391.6 kB / 0.6898 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01398/0.6611, allocations: 1.963 MB / 0.6917 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/0.6724, allocations: 3.394 MB / 0.695 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001574/0.674, allocations: 1.009 MB / 0.696 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/0.6757, allocations: 327.9 kB / 0.6963 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.687, allocations: 3.949 MB / 0.7002 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.351e-05/0.6871, allocations: 0 / 0.7002 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006796/0.6878, allocations: 112 kB / 0.7003 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.66e-05/0.6879, allocations: 71.88 kB / 0.7004 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01204/0.6999, allocations: 3.8 MB / 0.7041 GB, free: 3.129 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.04546/0.7455, allocations: 15.53 MB / 0.7193 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02064/0.7662, allocations: 6.453 MB / 0.7256 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007432/0.7737, allocations: 2.442 MB / 0.7279 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001581/0.7753, allocations: 0.766 MB / 0.7287 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009347/0.7847, allocations: 2.864 MB / 0.7315 GB, free: 6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=331): time 1.464e-05/0.7848, allocations: 0 / 0.7315 GB, free: 6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=331): time 0.1246/0.9093, allocations: 25.88 MB / 0.7568 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001766/0.9096, allocations: 196.7 kB / 0.7569 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01409/0.9237, allocations: 4.543 MB / 0.7614 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001834/0.9256, allocations: 97.7 kB / 0.7615 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003131/0.9288, allocations: 1.769 MB / 0.7632 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.003342/0.9321, allocations: 1.259 MB / 0.7644 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007478/0.9396, allocations: 1.067 MB / 0.7655 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.9398, allocations: 305.1 kB / 0.7658 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4083/1.348, allocations: 3.013 MB / 0.7687 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01147/1.36, allocations: 3.548 MB / 0.7722 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01939/1.379, allocations: 6.104 MB / 0.7781 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.483e-05/1.379, allocations: 2.75 kB / 0.7781 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02892/1.408, allocations: 9.425 MB / 0.7873 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/1.408, allocations: 7.781 kB / 0.7873 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-05/1.408, allocations: 7.531 kB / 0.7873 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02561/1.434, allocations: 10.29 MB / 0.7974 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005596/1.44, allocations: 0.9792 MB / 0.7984 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01676/1.456, allocations: 6.306 MB / 0.8045 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009363/1.466, allocations: 0.7399 MB / 0.8052 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001588/1.468, allocations: 192 kB / 0.8054 GB, free: 107.3 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.003358/1.471, allocations: 0.7686 MB / 0.8062 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002138/1.473, allocations: 496.6 kB / 0.8066 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03866/1.512, allocations: 11.61 MB / 0.818 GB, free: 96.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.571e-05/1.512, allocations: 43.11 kB / 0.818 GB, free: 96.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/1.512, allocations: 4 kB / 0.818 GB, free: 96.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001108/1.512, allocations: 15.94 kB / 0.818 GB, free: 96.13 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.05014/1.562, allocations: 17.67 MB / 0.8353 GB, free: 78.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.874e-05/1.562, allocations: 0 / 0.8353 GB, free: 78.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003073/1.565, allocations: 439.5 kB / 0.8357 GB, free: 77.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01564/1.581, allocations: 4.753 MB / 0.8404 GB, free: 73.17 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001271/1.582, allocations: 76.8 kB / 0.8404 GB, free: 73.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05222/1.634, allocations: 21.49 MB / 0.8614 GB, free: 51.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.635, allocations: 0 / 0.8614 GB, free: 51.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04509/1.68, allocations: 14.8 MB / 0.8759 GB, free: 36.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003214/1.683, allocations: 0.7203 MB / 0.8766 GB, free: 35.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002419/1.685, allocations: 67.94 kB / 0.8766 GB, free: 35.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006569/1.692, allocations: 387.5 kB / 0.877 GB, free: 35.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0029/1.695, allocations: 0.6198 MB / 0.8776 GB, free: 34.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004105/1.695, allocations: 95.97 kB / 0.8777 GB, free: 34.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006172/1.702, allocations: 2.988 MB / 0.8806 GB, free: 31.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.31e-07/1.702, allocations: 4 kB / 0.8806 GB, free: 31.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006604/1.708, allocations: 1.443 MB / 0.882 GB, free: 30.38 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.04477/1.753, allocations: 15.27 MB / 0.8969 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02277/1.776, allocations: 7.934 MB / 0.9047 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.776, allocations: 8.062 kB / 0.9047 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01365/1.79, allocations: 4.514 MB / 0.9091 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005002/1.795, allocations: 403.9 kB / 0.9095 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1585/1.953, allocations: 49.97 MB / 0.9583 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002694/1.956, allocations: 2.333 MB / 0.9606 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003024/1.959, allocations: 449.2 kB / 0.961 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003882/1.963, allocations: 1.995 MB / 0.9629 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of SimCode: time 1.132e-06/1.963, allocations: 0 / 0.9629 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6484/2.611, allocations: 121.5 MB / 1.082 GB, free: 190.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.83/26.44, allocations: 8.375 kB / 1.082 GB, free: 190.5 MB / 0.67 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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 0.001 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)