Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08335/0.08335, allocations: 12.59 MB / 28.22 MB, free: 0.7656 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 111.4 kB / 31.84 MB, free: 3.898 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 184.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4486/0.4486, allocations: 78.51 MB / 419.3 MB, free: 11.22 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 139.8 kB / 0.5554 GB, free: 28.72 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1277, allocations: 68.14 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2): time 0.008763/0.1365, allocations: 8.659 MB / 0.6304 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005166/0.1417, allocations: 2.669 MB / 0.633 GB, free: 4.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.1431, allocations: 12 kB / 0.633 GB, free: 4.508 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009844/0.1441, allocations: 321.2 kB / 0.6333 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003525/0.1477, allocations: 1.265 MB / 0.6345 GB, free: 2.926 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.1494, allocations: 0.7593 MB / 0.6353 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002681/0.1521, allocations: 2.388 MB / 0.6376 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006281/0.1527, allocations: 481.8 kB / 0.6381 GB, free: 15.28 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009967/0.1537, allocations: 0.9065 MB / 0.639 GB, free: 14.37 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.1549, allocations: 1.159 MB / 0.6401 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002611/0.1551, allocations: 192 kB / 0.6403 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007569/0.1559, allocations: 467.7 kB / 0.6407 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003575/0.1563, allocations: 478.2 kB / 0.6412 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008289/0.1571, allocations: 0.9595 MB / 0.6421 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.1597, allocations: 2.478 MB / 0.6445 GB, free: 8.637 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1597, allocations: 0 / 0.6445 GB, free: 8.637 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1597, allocations: 0 / 0.6445 GB, free: 8.637 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.112e-05/0.1598, allocations: 0 / 0.6445 GB, free: 8.637 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.01362/0.1734, allocations: 3.99 MB / 0.6484 GB, free: 4.586 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.1734, allocations: 11.98 kB / 0.6484 GB, free: 4.574 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002069/0.1737, allocations: 160.4 kB / 0.6486 GB, free: 4.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004656/0.1783, allocations: 0.7754 MB / 0.6494 GB, free: 3.633 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.1803, allocations: 1.138 MB / 0.6505 GB, free: 2.445 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004461/0.1808, allocations: 458.4 kB / 0.6509 GB, free: 1.922 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/0.181, allocations: 116 kB / 0.651 GB, free: 1.809 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002983/0.184, allocations: 1.483 MB / 0.6525 GB, free: 284 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.184, allocations: 0 / 0.6525 GB, free: 284 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.1842, allocations: 44 kB / 0.6525 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.1842, allocations: 27.94 kB / 0.6525 GB, free: 212 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002887/0.1871, allocations: 1.351 MB / 0.6539 GB, free: 14.86 MB / 478.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.008869/0.196, allocations: 5.226 MB / 0.659 GB, free: 9.398 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008197/0.2042, allocations: 2.934 MB / 0.6618 GB, free: 6.324 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001921/0.2062, allocations: 0.9321 MB / 0.6627 GB, free: 5.387 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005884/0.2068, allocations: 0.7297 MB / 0.6634 GB, free: 4.488 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002166/0.2089, allocations: 1.074 MB / 0.6645 GB, free: 3.395 MB / 478.1 MB Notification: Performance of pre-optimization done (n=131): time 2.625e-06/0.2089, allocations: 0 / 0.6645 GB, free: 3.395 MB / 478.1 MB Notification: Performance of matching and sorting (n=131): time 0.04096/0.2499, allocations: 9.876 MB / 0.6741 GB, free: 9.461 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.25, allocations: 120.1 kB / 0.6743 GB, free: 9.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/0.2526, allocations: 1.43 MB / 0.6756 GB, free: 7.879 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000391/0.253, allocations: 57.69 kB / 0.6757 GB, free: 7.816 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005957/0.2536, allocations: 0.6325 MB / 0.6763 GB, free: 7.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007345/0.2544, allocations: 499.7 kB / 0.6768 GB, free: 6.688 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009317/0.2553, allocations: 383.4 kB / 0.6772 GB, free: 6.305 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.2554, allocations: 301.1 kB / 0.6775 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/0.2578, allocations: 1.003 MB / 0.6784 GB, free: 5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00274/0.2606, allocations: 1.227 MB / 0.6796 GB, free: 3.711 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004776/0.2654, allocations: 2.161 MB / 0.6817 GB, free: 1.492 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.2654, allocations: 4 kB / 0.6817 GB, free: 1.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01808/0.2835, allocations: 5.517 MB / 0.6871 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.2836, allocations: 8 kB / 0.6871 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/0.2836, allocations: 4 kB / 0.6871 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009664/0.2933, allocations: 2.671 MB / 0.6898 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.2951, allocations: 339.5 kB / 0.6901 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006605/0.3017, allocations: 2.707 MB / 0.6927 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/0.3044, allocations: 254.7 kB / 0.693 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003737/0.3048, allocations: 71.97 kB / 0.693 GB, free: 5.875 MB / 0.4981 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 ($whenCondition2,$whenCondition1,iEEET2.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0009738/0.3058, allocations: 301.5 kB / 0.6933 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005608/0.3063, allocations: 178.8 kB / 0.6935 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01691/0.3233, allocations: 4.938 MB / 0.6983 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.3233, allocations: 15.94 kB / 0.6983 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.3233, allocations: 4 kB / 0.6983 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.208e-05/0.3234, allocations: 7.969 kB / 0.6983 GB, free: 412 kB / 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 postOpt removeSimpleEquations (simulation): time 0.02056/0.3439, allocations: 7.092 MB / 0.7053 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/0.344, allocations: 0 / 0.7053 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009975/0.345, allocations: 151.8 kB / 0.7054 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007957/0.353, allocations: 2.197 MB / 0.7076 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003204/0.3534, allocations: 27.98 kB / 0.7076 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2873/0.6407, allocations: 11.8 MB / 0.7191 GB, free: 81.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.6408, allocations: 1.781 kB / 0.7191 GB, free: 81.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02114/0.6619, allocations: 6.102 MB / 0.7251 GB, free: 80.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007438/0.6627, allocations: 288.7 kB / 0.7253 GB, free: 80.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004163/0.6631, allocations: 27.17 kB / 0.7254 GB, free: 80.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/0.6648, allocations: 125.3 kB / 0.7255 GB, free: 80.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008543/0.6657, allocations: 265.9 kB / 0.7257 GB, free: 80.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.6658, allocations: 35.95 kB / 0.7258 GB, free: 80.17 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001497/0.6673, allocations: 0.9496 MB / 0.7267 GB, free: 79.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6673, allocations: 3.938 kB / 0.7267 GB, free: 79.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001934/0.6692, allocations: 0.5622 MB / 0.7273 GB, free: 79.71 MB / 0.5137 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,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01964/0.6889, allocations: 6.728 MB / 0.7338 GB, free: 77.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009017/0.6979, allocations: 2.955 MB / 0.7367 GB, free: 76.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.698, allocations: 0 / 0.7367 GB, free: 76.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006651/0.7046, allocations: 2.07 MB / 0.7387 GB, free: 75.81 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.7065, allocations: 150.7 kB / 0.7389 GB, free: 75.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03888/0.7454, allocations: 19.38 MB / 0.7578 GB, free: 60.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/0.746, allocations: 1.247 MB / 0.759 GB, free: 59.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006087/0.7466, allocations: 142.5 kB / 0.7591 GB, free: 59.06 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007014/0.7473, allocations: 0.6438 MB / 0.7598 GB, free: 58.41 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/0.7473, allocations: 0 / 0.7598 GB, free: 58.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06565/0.813, allocations: 45.65 MB / 0.8044 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.26, allocations: 7.031 kB / 0.8044 GB, free: 12.84 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)