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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 221.5 MB / 229.6 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 93.64 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5678/0.5678, allocations: 78.06 MB / 409.3 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.164e-05, allocations: 7.938 kB / 485 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1767, allocations: 69.36 MB / 0.5414 GB, free: 6.773 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4952/0.672, allocations: 115.7 MB / 0.6544 GB, free: 15.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.6723, allocations: 87.3 kB / 0.6545 GB, free: 15.62 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1422/0.8145, allocations: 49.6 MB / 0.7029 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.522e-06/0.8145, allocations: 3.938 kB / 0.7029 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001045/0.8146, allocations: 32 kB / 0.7029 GB, free: 13.99 MB / 0.5105 GB 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.0064/0.821, allocations: 2.335 MB / 0.7052 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.8211, allocations: 8.031 kB / 0.7052 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003291/0.8244, allocations: 0.5868 MB / 0.7058 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.827, allocations: 1.172 MB / 0.7069 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000572/0.8276, allocations: 472.4 kB / 0.7074 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/0.8278, allocations: 76 kB / 0.7075 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002352/0.8302, allocations: 1.227 MB / 0.7087 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.8325, allocations: 1.255 MB / 0.7099 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.8326, allocations: 1.781 kB / 0.7099 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.8327, allocations: 0 / 0.7099 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/0.8327, allocations: 32 kB / 0.7099 GB, free: 6.605 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01159/0.8443, allocations: 5.498 MB / 0.7153 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008514/0.8529, allocations: 3.333 MB / 0.7185 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.8544, allocations: 0.768 MB / 0.7193 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008788/0.8553, allocations: 0.7297 MB / 0.72 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001642/0.857, allocations: 0.9319 MB / 0.7209 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=143): time 2.846e-06/0.857, allocations: 0 / 0.7209 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=143): time 0.01625/0.8732, allocations: 5.055 MB / 0.7259 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.941e-05/0.8734, allocations: 149.9 kB / 0.726 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.8756, allocations: 1.194 MB / 0.7272 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003769/0.876, allocations: 25.7 kB / 0.7272 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005961/0.8766, allocations: 0.7381 MB / 0.7279 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005934/0.8772, allocations: 496.5 kB / 0.7284 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.8773, allocations: 0 / 0.7284 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.8775, allocations: 361.9 kB / 0.7287 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.8787, allocations: 0.6406 MB / 0.7294 GB, free: 2.102 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.8799, allocations: 0.8294 MB / 0.7302 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.8814, allocations: 0.7341 MB / 0.7309 GB, free: 500 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.8815, allocations: 4 kB / 0.7309 GB, free: 496 kB / 0.5261 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.004774/0.8862, allocations: 2.284 MB / 0.7331 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004964/0.8868, allocations: 1.545 MB / 0.7346 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.8868, allocations: 4 kB / 0.7346 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007964/0.8948, allocations: 2.372 MB / 0.7369 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.8961, allocations: 243.7 kB / 0.7372 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00542/0.9015, allocations: 3.088 MB / 0.7402 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/0.904, allocations: 254.6 kB / 0.7404 GB, free: 6.508 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.9042, allocations: 59.05 kB / 0.7405 GB, free: 6.453 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.9042, allocations: 4 kB / 0.7405 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00418/0.9084, allocations: 2.069 MB / 0.7425 GB, free: 4.375 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.9084, allocations: 4 kB / 0.7425 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007978/0.9164, allocations: 2.382 MB / 0.7448 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.9177, allocations: 231.7 kB / 0.7451 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005705/0.9234, allocations: 3.068 MB / 0.7481 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/0.9263, allocations: 250.1 kB / 0.7483 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/0.9266, allocations: 55.98 kB / 0.7484 GB, free: 14.34 MB / 0.5573 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 127 * 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.000463/0.9271, allocations: 128.7 kB / 0.7485 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01653/0.9436, allocations: 5.063 MB / 0.7534 GB, free: 9.133 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/0.9447, allocations: 177.8 kB / 0.7536 GB, free: 8.957 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01755/0.9623, allocations: 5.117 MB / 0.7586 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.629e-05/0.9624, allocations: 23.92 kB / 0.7586 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.9624, allocations: 0 / 0.7586 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-05/0.9625, allocations: 11.97 kB / 0.7586 GB, free: 3.789 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.3679/1.33, allocations: 7.336 MB / 0.7658 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/1.33, allocations: 3.938 kB / 0.7658 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/1.332, allocations: 189.2 kB / 0.766 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00602/1.338, allocations: 1.984 MB / 0.7679 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002717/1.338, allocations: 17.09 kB / 0.7679 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0161/1.354, allocations: 7.729 MB / 0.7755 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/1.354, allocations: 0 / 0.7755 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01722/1.371, allocations: 6.235 MB / 0.7816 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000962/1.372, allocations: 295.2 kB / 0.7818 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003657/1.373, allocations: 4 kB / 0.7818 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/1.375, allocations: 186.1 kB / 0.782 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009544/1.376, allocations: 283.8 kB / 0.7823 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/1.376, allocations: 40.14 kB / 0.7823 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001495/1.377, allocations: 0.9096 MB / 0.7832 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/1.377, allocations: 3.484 kB / 0.7832 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002595/1.38, allocations: 0.7961 MB / 0.784 GB, free: 129.6 MB / 0.5573 GB 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 () * 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.01869/1.399, allocations: 7.007 MB / 0.7908 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01444/1.413, allocations: 4.286 MB / 0.795 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/1.413, allocations: 256 / 0.795 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006097/1.419, allocations: 1.915 MB / 0.7969 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/1.421, allocations: 127.2 kB / 0.797 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007709/1.428, allocations: 3.044 MB / 0.8 GB, free: 127 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/1.43, allocations: 1.36 MB / 0.8013 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00165/1.432, allocations: 279 kB / 0.8016 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000812/1.433, allocations: 0.6835 MB / 0.8023 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of SimCode: time 8.41e-07/1.433, allocations: 0.5625 kB / 0.8023 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08579/1.518, allocations: 47.71 MB / 0.8488 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001315/1.518, allocations: 117.6 kB / 0.849 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.119/5.638, allocations: 0 / 0.849 GB, free: 119.3 MB / 0.5573 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)