Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.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.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE",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.007773/0.007773, allocations: 99.27 kB / 15.73 MB, free: 6.039 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.394/1.394, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001445/0.001445, allocations: 188.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4507/0.4507, allocations: 78.53 MB / 418.4 MB, free: 3.105 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 72.09 kB / 0.5531 GB, free: 1.465 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2911, allocations: 68.17 MB / 0.6197 GB, free: 9.285 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.005654/0.2968, allocations: 7.023 MB / 0.6266 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004118/0.3009, allocations: 2.251 MB / 0.6288 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.3021, allocations: 8 kB / 0.6288 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006634/0.3028, allocations: 273.7 kB / 0.629 GB, free: 0.582 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003094/0.3059, allocations: 1.127 MB / 0.6301 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.3074, allocations: 0.5762 MB / 0.6307 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003015/0.3105, allocations: 1.897 MB / 0.6326 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006895/0.3112, allocations: 332 kB / 0.6329 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.3124, allocations: 0.7237 MB / 0.6336 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.3139, allocations: 0.9648 MB / 0.6345 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003057/0.3142, allocations: 143.9 kB / 0.6347 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007413/0.315, allocations: 319.8 kB / 0.635 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.3153, allocations: 374.4 kB / 0.6353 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008016/0.3161, allocations: 0.7497 MB / 0.6361 GB, free: 9.359 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002552/0.3187, allocations: 1.864 MB / 0.6379 GB, free: 7.492 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3187, allocations: 3.938 kB / 0.6379 GB, free: 7.488 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.3187, allocations: 4 kB / 0.6379 GB, free: 7.484 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.864e-05/0.3188, allocations: 0 / 0.6379 GB, free: 7.484 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.01355/0.3323, allocations: 3.522 MB / 0.6413 GB, free: 3.902 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.3324, allocations: 16.02 kB / 0.6413 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.3326, allocations: 134.8 kB / 0.6415 GB, free: 3.746 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004639/0.3372, allocations: 0.721 MB / 0.6422 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.3389, allocations: 0.9312 MB / 0.6431 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004142/0.3393, allocations: 353.3 kB / 0.6434 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.3396, allocations: 91.94 kB / 0.6435 GB, free: 1.551 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.3422, allocations: 1.235 MB / 0.6447 GB, free: 308 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.3422, allocations: 0 / 0.6447 GB, free: 308 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.993e-05/0.3424, allocations: 28 kB / 0.6447 GB, free: 280 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.3424, allocations: 23.98 kB / 0.6448 GB, free: 256 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/0.345, allocations: 1.16 MB / 0.6459 GB, free: 15.09 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 preOpt removeSimpleEquations (simulation): time 0.00774/0.3528, allocations: 4.115 MB / 0.6499 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008457/0.3613, allocations: 2.673 MB / 0.6525 GB, free: 7.984 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002003/0.3633, allocations: 0.8284 MB / 0.6533 GB, free: 7.152 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.3635, allocations: 20.98 kB / 0.6533 GB, free: 7.129 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.3635, allocations: 43.56 kB / 0.6534 GB, free: 7.078 MB / 462.1 MB Notification: Performance of pre-optimization done (n=108): time 2.785e-06/0.3635, allocations: 0 / 0.6534 GB, free: 7.078 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.04485/0.4084, allocations: 10.1 MB / 0.6633 GB, free: 12.94 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.4085, allocations: 94.05 kB / 0.6633 GB, free: 12.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.4103, allocations: 1.113 MB / 0.6644 GB, free: 11.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003096/0.4107, allocations: 49.7 kB / 0.6645 GB, free: 11.64 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004764/0.4111, allocations: 0.5019 MB / 0.665 GB, free: 11.14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005977/0.4117, allocations: 412.4 kB / 0.6654 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005918/0.4123, allocations: 287.5 kB / 0.6656 GB, free: 10.45 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4125, allocations: 301.1 kB / 0.6659 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002151/0.4146, allocations: 0.8589 MB / 0.6668 GB, free: 9.289 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002253/0.4169, allocations: 1.045 MB / 0.6678 GB, free: 8.199 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004282/0.4212, allocations: 1.874 MB / 0.6696 GB, free: 6.281 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.964e-06/0.4213, allocations: 3.938 kB / 0.6696 GB, free: 6.277 MB / 478.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009456/0.4307, allocations: 3.375 MB / 0.6729 GB, free: 2.887 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.4308, allocations: 12.03 kB / 0.6729 GB, free: 2.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.4308, allocations: 7.984 kB / 0.6729 GB, free: 2.867 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009937/0.4407, allocations: 2.592 MB / 0.6755 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.442, allocations: 247.6 kB / 0.6757 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006667/0.4487, allocations: 2.646 MB / 0.6783 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.4507, allocations: 207 kB / 0.6785 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/0.4509, allocations: 55.98 kB / 0.6785 GB, free: 13.11 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * 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 {(29,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0005294/0.4515, allocations: 261.5 kB / 0.6788 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/0.4518, allocations: 139.1 kB / 0.6789 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01628/0.4681, allocations: 4.57 MB / 0.6834 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/0.4682, allocations: 12 kB / 0.6834 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.4682, allocations: 0 / 0.6834 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-05/0.4682, allocations: 11.92 kB / 0.6834 GB, free: 8.082 MB / 494.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.01894/0.4872, allocations: 6.346 MB / 0.6896 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.4872, allocations: 0 / 0.6896 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006858/0.4879, allocations: 111.9 kB / 0.6897 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007961/0.4959, allocations: 2.134 MB / 0.6918 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002026/0.4961, allocations: 24 kB / 0.6918 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02747/0.5236, allocations: 10.06 MB / 0.7016 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.5236, allocations: 7.938 kB / 0.7016 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01844/0.5421, allocations: 5.657 MB / 0.7072 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004612/0.5426, allocations: 239.9 kB / 0.7074 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.5428, allocations: 27.94 kB / 0.7074 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.5441, allocations: 103.9 kB / 0.7075 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007695/0.5449, allocations: 237.1 kB / 0.7078 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.111e-05/0.545, allocations: 35.98 kB / 0.7078 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001051/0.5461, allocations: 0.7445 MB / 0.7085 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.1e-07/0.5461, allocations: 0 / 0.7085 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001275/0.5474, allocations: 471.7 kB / 0.709 GB, free: 13.57 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAE.w,gENSAE.delta,gENSAE.Epq,gENSAE.PSIkd,gENSAE.PSIppq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01897/0.5663, allocations: 6.255 MB / 0.7151 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00866/0.575, allocations: 2.591 MB / 0.7176 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.5751, allocations: 0 / 0.7176 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006265/0.5813, allocations: 1.819 MB / 0.7194 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.5825, allocations: 120.6 kB / 0.7195 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0483/0.6308, allocations: 18.18 MB / 0.7373 GB, free: 332 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/0.6316, allocations: 1.123 MB / 0.7383 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005153/0.6321, allocations: 116.3 kB / 0.7385 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000677/0.6328, allocations: 491.3 kB / 0.7389 GB, free: 14.57 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.6328, allocations: 0 / 0.7389 GB, free: 14.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3113/0.9441, allocations: 37.57 MB / 0.7756 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.74, allocations: 15.88 kB / 0.7756 GB, free: 138.5 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)