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: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_dev_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.0008837/0.0008837, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.322/1.322, allocations: 223.2 MB / 238.9 MB, free: 5.477 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.001127/0.001127, allocations: 185 kB / 290.2 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4457/0.4457, allocations: 79.44 MB / 420.7 MB, free: 3.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003607, allocations: 8 kB / 0.4891 GB, free: 5.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3425, allocations: 69.5 MB / 0.5569 GB, free: 37.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01331/0.3558, allocations: 17.1 MB / 0.5737 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.3679, allocations: 6.344 MB / 0.5798 GB, free: 26.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00427/0.3722, allocations: 48.38 kB / 0.5799 GB, free: 26.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003253/0.3755, allocations: 0.6709 MB / 0.5805 GB, free: 26.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008029/0.3836, allocations: 2.055 MB / 0.5826 GB, free: 24.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004648/0.3882, allocations: 1.542 MB / 0.5841 GB, free: 24.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01059/0.3988, allocations: 4.001 MB / 0.588 GB, free: 21.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/0.4008, allocations: 1.046 MB / 0.589 GB, free: 21.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003447/0.4043, allocations: 2.102 MB / 0.591 GB, free: 20.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004021/0.4083, allocations: 2.688 MB / 0.5937 GB, free: 19.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001964/0.4103, allocations: 248.9 kB / 0.5939 GB, free: 19.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.4126, allocations: 485.2 kB / 0.5944 GB, free: 19.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008945/0.4135, allocations: 0.9665 MB / 0.5953 GB, free: 18.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001368/0.4149, allocations: 0.839 MB / 0.5961 GB, free: 18.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007538/0.4225, allocations: 6.279 MB / 0.6023 GB, free: 16.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4225, allocations: 0 / 0.6023 GB, free: 16.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4225, allocations: 0 / 0.6023 GB, free: 16.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000317/0.4228, allocations: 2.938 kB / 0.6023 GB, free: 16.85 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.03811/0.4609, allocations: 9.092 MB / 0.6111 GB, free: 13.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.461, allocations: 9.406 kB / 0.6112 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002041/0.463, allocations: 396 kB / 0.6115 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/0.4759, allocations: 1.942 MB / 0.6134 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008103/0.4841, allocations: 3.193 MB / 0.6165 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00105/0.4852, allocations: 1.038 MB / 0.6176 GB, free: 9.668 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/0.4866, allocations: 331.1 kB / 0.6179 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009796/0.4964, allocations: 4.096 MB / 0.6219 GB, free: 7.215 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.689e-05/0.4964, allocations: 0.9688 kB / 0.6219 GB, free: 7.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003894/0.4968, allocations: 116.7 kB / 0.622 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.871e-05/0.4969, allocations: 65.06 kB / 0.622 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.508, allocations: 3.988 MB / 0.6259 GB, free: 5.238 MB / 430.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.03502/0.5431, allocations: 16.28 MB / 0.6418 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01719/0.5603, allocations: 7.194 MB / 0.6489 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.5614, allocations: 0.7677 MB / 0.6496 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007088/0.5685, allocations: 3.03 MB / 0.6526 GB, free: 9.867 MB / 462.1 MB Notification: Performance of pre-optimization done (n=331): time 4.759e-06/0.5686, allocations: 0 / 0.6526 GB, free: 9.867 MB / 462.1 MB Notification: Performance of matching and sorting (n=331): time 0.1147/0.6833, allocations: 30.34 MB / 0.6822 GB, free: 11.42 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.6834, allocations: 188.8 kB / 0.6824 GB, free: 11.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008427/0.6919, allocations: 4.503 MB / 0.6868 GB, free: 6.699 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001442/0.6933, allocations: 101.7 kB / 0.6869 GB, free: 6.594 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002096/0.6954, allocations: 1.743 MB / 0.6886 GB, free: 4.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002952/0.6984, allocations: 1.198 MB / 0.6898 GB, free: 3.625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009717/0.6994, allocations: 116 kB / 0.6899 GB, free: 3.512 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003902/0.6998, allocations: 0.5183 MB / 0.6904 GB, free: 2.984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007078/0.7069, allocations: 3.186 MB / 0.6935 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00872/0.7156, allocations: 3.682 MB / 0.6971 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00825/0.7239, allocations: 3.422 MB / 0.7004 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.978e-05/0.724, allocations: 4 kB / 0.7004 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02416/0.7481, allocations: 9.948 MB / 0.7101 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.7482, allocations: 9.094 kB / 0.7102 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.225e-05/0.7483, allocations: 11.98 kB / 0.7102 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02743/0.7757, allocations: 11.1 MB / 0.721 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005434/0.7812, allocations: 0.9869 MB / 0.722 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/0.7987, allocations: 6.975 MB / 0.7288 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008136/0.8069, allocations: 0.8386 MB / 0.7296 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/0.808, allocations: 192 kB / 0.7298 GB, free: 10.39 MB / 0.5294 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 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {80 72} Notification: Performance of prepare postOptimizeDAE: time 0.002291/0.8103, allocations: 0.7749 MB / 0.7305 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/0.8116, allocations: 470 kB / 0.731 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04065/0.8523, allocations: 13.95 MB / 0.7446 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.497e-05/0.8524, allocations: 32 kB / 0.7446 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.8524, allocations: 4 kB / 0.7446 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001121/0.8525, allocations: 19.92 kB / 0.7447 GB, free: 11.08 MB / 0.545 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.0552/0.9077, allocations: 20.25 MB / 0.7644 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/0.9078, allocations: 0 / 0.7644 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003184/0.911, allocations: 436.5 kB / 0.7649 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01788/0.9289, allocations: 5.57 MB / 0.7703 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001165/0.9301, allocations: 83.92 kB / 0.7704 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2894/1.219, allocations: 23.24 MB / 0.7931 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.219, allocations: 1.031 kB / 0.7931 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05017/1.27, allocations: 17.4 MB / 0.8101 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002097/1.272, allocations: 0.709 MB / 0.8108 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001466/1.273, allocations: 69.53 kB / 0.8108 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004759/1.278, allocations: 495.4 kB / 0.8113 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002035/1.28, allocations: 0.6219 MB / 0.8119 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002828/1.28, allocations: 95.09 kB / 0.812 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004996/1.285, allocations: 2.958 MB / 0.8149 GB, free: 158 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.01e-07/1.285, allocations: 0 / 0.8149 GB, free: 158 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005108/1.291, allocations: 1.436 MB / 0.8163 GB, free: 157.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.04289/1.333, allocations: 18.04 MB / 0.8339 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02208/1.356, allocations: 8.579 MB / 0.8423 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.356, allocations: 448 / 0.8423 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01331/1.369, allocations: 4.974 MB / 0.8471 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/1.373, allocations: 346.3 kB / 0.8475 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/1.397, allocations: 16.5 MB / 0.8636 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/1.398, allocations: 2.423 MB / 0.8659 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002471/1.4, allocations: 462.6 kB / 0.8664 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002709/1.403, allocations: 1.975 MB / 0.8683 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.403e-06/1.403, allocations: 0 / 0.8683 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1298/1.533, allocations: 105.7 MB / 0.9715 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000124/1.533, allocations: 203.4 kB / 0.9717 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.122/6.656, allocations: 0 / 0.9717 GB, free: 3.121 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1) Environment - environmentSimulation: