Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.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.Tests.Controls.PSSE.ES.EXAC2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",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.001463/0.001463, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.683/1.683, allocations: 223.3 MB / 239 MB, free: 5.453 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.00185/0.00185, allocations: 184 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.6229/0.6229, allocations: 78.55 MB / 419.9 MB, free: 4.297 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.00042, allocations: 20 kB / 499.9 MB, free: 6.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1861, allocations: 69.37 MB / 0.5559 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2): time 0.4004/0.5866, allocations: 8.44 MB / 0.5642 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008031/0.5947, allocations: 2.889 MB / 0.567 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/0.5969, allocations: 22.5 kB / 0.567 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.598, allocations: 243.5 kB / 0.5672 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003384/0.6014, allocations: 1.034 MB / 0.5682 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.6039, allocations: 0.7423 MB / 0.569 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0039/0.6079, allocations: 2.439 MB / 0.5713 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.6089, allocations: 450.8 kB / 0.5718 GB, free: 34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.6107, allocations: 0.8474 MB / 0.5726 GB, free: 33.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.6122, allocations: 1.112 MB / 0.5737 GB, free: 33.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002937/0.6125, allocations: 102 kB / 0.5738 GB, free: 33.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009551/0.6135, allocations: 356.3 kB / 0.5741 GB, free: 33.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003279/0.6139, allocations: 401.8 kB / 0.5745 GB, free: 32.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.6143, allocations: 338.6 kB / 0.5748 GB, free: 32.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.6166, allocations: 2.085 MB / 0.5769 GB, free: 32.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.6166, allocations: 0 / 0.5769 GB, free: 32.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6166, allocations: 0 / 0.5769 GB, free: 32.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.455e-05/0.6167, allocations: 0.625 kB / 0.5769 GB, free: 32.09 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: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.01422/0.631, allocations: 3.968 MB / 0.5807 GB, free: 30.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.232e-05/0.6311, allocations: 10.84 kB / 0.5808 GB, free: 30.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009314/0.632, allocations: 184.8 kB / 0.5809 GB, free: 30.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005023/0.637, allocations: 0.7887 MB / 0.5817 GB, free: 30.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/0.6397, allocations: 1.228 MB / 0.5829 GB, free: 29.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005175/0.6402, allocations: 0.5039 MB / 0.5834 GB, free: 29.13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002449/0.6405, allocations: 140.4 kB / 0.5835 GB, free: 29.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003548/0.6441, allocations: 1.751 MB / 0.5852 GB, free: 28.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.6441, allocations: 1.125 kB / 0.5852 GB, free: 28.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.6443, allocations: 48.78 kB / 0.5853 GB, free: 28.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-05/0.6443, allocations: 28.88 kB / 0.5853 GB, free: 28.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004005/0.6483, allocations: 1.647 MB / 0.5869 GB, free: 27.82 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.01329/0.6617, allocations: 5.86 MB / 0.5926 GB, free: 24.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/0.6725, allocations: 3.827 MB / 0.5964 GB, free: 23.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00335/0.6759, allocations: 1.107 MB / 0.5975 GB, free: 22.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006114/0.6766, allocations: 0.7392 MB / 0.5982 GB, free: 21.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003279/0.6799, allocations: 1.265 MB / 0.5994 GB, free: 21.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 5.08e-06/0.6799, allocations: 0 / 0.5994 GB, free: 21.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=143): time 0.04994/0.7298, allocations: 12.9 MB / 0.612 GB, free: 18.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.73, allocations: 147.9 kB / 0.6122 GB, free: 18.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003251/0.7333, allocations: 1.603 MB / 0.6137 GB, free: 17.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000606/0.7339, allocations: 55.2 kB / 0.6138 GB, free: 17.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006109/0.7345, allocations: 0.7081 MB / 0.6145 GB, free: 17.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007201/0.7352, allocations: 0.5105 MB / 0.615 GB, free: 16.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.7354, allocations: 44.84 kB / 0.615 GB, free: 16.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.7355, allocations: 388.7 kB / 0.6154 GB, free: 16.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002753/0.7383, allocations: 1.177 MB / 0.6165 GB, free: 15.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/0.7407, allocations: 1.422 MB / 0.6179 GB, free: 14.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/0.743, allocations: 1.264 MB / 0.6192 GB, free: 12.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.743, allocations: 0 / 0.6192 GB, free: 12.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.009489/0.7525, allocations: 4.446 MB / 0.6235 GB, free: 8.258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001655/0.7527, allocations: 217.2 kB / 0.6237 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.7528, allocations: 5.172 kB / 0.6237 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009233/0.762, allocations: 3.183 MB / 0.6268 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.764, allocations: 359.5 kB / 0.6272 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006615/0.7706, allocations: 3.693 MB / 0.6308 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003385/0.7741, allocations: 334.1 kB / 0.6311 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004011/0.7745, allocations: 71.98 kB / 0.6312 GB, free: 312 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.7745, allocations: 4 kB / 0.6312 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01144/0.786, allocations: 4.235 MB / 0.6353 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.786, allocations: 4 kB / 0.6353 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/0.7961, allocations: 3.166 MB / 0.6384 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/0.7983, allocations: 368.5 kB / 0.6387 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007966/0.8063, allocations: 3.652 MB / 0.6423 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003218/0.8096, allocations: 314.9 kB / 0.6426 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005261/0.8101, allocations: 74.33 kB / 0.6427 GB, free: 4.391 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 204 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.00172/0.8119, allocations: 427 kB / 0.6431 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009742/0.8128, allocations: 181.7 kB / 0.6433 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01777/0.8306, allocations: 6.065 MB / 0.6492 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-05/0.8307, allocations: 15.94 kB / 0.6492 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.8307, allocations: 4 kB / 0.6492 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.444e-05/0.8308, allocations: 8.578 kB / 0.6492 GB, free: 13.68 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 postOpt removeSimpleEquations (simulation): time 0.02432/0.8551, allocations: 8.392 MB / 0.6574 GB, free: 5.148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.613e-05/0.8552, allocations: 4.031 kB / 0.6574 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.8566, allocations: 192.8 kB / 0.6576 GB, free: 4.957 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007663/0.8642, allocations: 2.511 MB / 0.66 GB, free: 2.441 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003464/0.8646, allocations: 35.98 kB / 0.6601 GB, free: 2.406 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02578/0.8904, allocations: 10.32 MB / 0.6702 GB, free: 7.945 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.8905, allocations: 0 / 0.6702 GB, free: 7.945 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02157/0.9121, allocations: 7.428 MB / 0.6774 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/0.9133, allocations: 298.5 kB / 0.6777 GB, free: 176 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009483/0.9143, allocations: 28 kB / 0.6777 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002408/0.9167, allocations: 207.8 kB / 0.6779 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/0.9178, allocations: 285.2 kB / 0.6782 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002646/0.9181, allocations: 40.61 kB / 0.6782 GB, free: 15.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002816/0.9209, allocations: 1.066 MB / 0.6793 GB, free: 14.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.9209, allocations: 0 / 0.6793 GB, free: 14.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005434/0.9264, allocations: 0.9635 MB / 0.6802 GB, free: 13.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXAC2.imLimitedSimpleLag.state,eXAC2.imDerivativeLag.x,eXAC2.leadLag.TF.x_scaled[1],eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC2.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 99 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02233/0.9487, allocations: 8.039 MB / 0.6881 GB, free: 5.516 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01931/0.9681, allocations: 5.942 MB / 0.6939 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.9682, allocations: 0 / 0.6939 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007354/0.9755, allocations: 2.31 MB / 0.6961 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/0.9786, allocations: 160.7 kB / 0.6963 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04268/1.021, allocations: 16.07 MB / 0.712 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/1.023, allocations: 1.323 MB / 0.7133 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001738/1.025, allocations: 210.8 kB / 0.7135 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/1.026, allocations: 0.6984 MB / 0.7141 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of SimCode: time 1.543e-06/1.026, allocations: 0 / 0.7141 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1171/1.143, allocations: 51.07 MB / 0.764 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000352/1.144, allocations: 195.9 kB / 0.7642 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.142/5.286, allocations: 0 / 0.7642 GB, free: 6.906 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe 2>&1) Environment - environmentSimulation: