Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.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.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS",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.08269/0.08269, allocations: 12.6 MB / 28.1 MB, free: 344 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 107.5 kB / 31.7 MB, free: 3.512 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.329/1.329, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.00138/0.00138, allocations: 199.4 kB / 290.6 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4227/0.4227, allocations: 78.51 MB / 419.2 MB, free: 11.34 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.002636/0.002636, allocations: 144.8 kB / 499.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2936, allocations: 68.11 MB / 0.5547 GB, free: 32.74 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.006256/0.2999, allocations: 6.202 MB / 0.5607 GB, free: 28.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003822/0.3037, allocations: 1.83 MB / 0.5625 GB, free: 26.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008092/0.3046, allocations: 17.66 kB / 0.5625 GB, free: 26.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.3052, allocations: 243.2 kB / 0.5628 GB, free: 26.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.3073, allocations: 0.7985 MB / 0.5635 GB, free: 25.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.3088, allocations: 0.6393 MB / 0.5642 GB, free: 25.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002068/0.3108, allocations: 1.629 MB / 0.5658 GB, free: 24.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004363/0.3113, allocations: 293.6 kB / 0.566 GB, free: 24.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008276/0.3121, allocations: 0.612 MB / 0.5666 GB, free: 23.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008404/0.313, allocations: 0.8121 MB / 0.5674 GB, free: 23.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.3132, allocations: 119.5 kB / 0.5675 GB, free: 23.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005314/0.3137, allocations: 238.9 kB / 0.5678 GB, free: 23.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.3139, allocations: 302.6 kB / 0.5681 GB, free: 23.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004398/0.3144, allocations: 0.6405 MB / 0.5687 GB, free: 22.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.3156, allocations: 1.539 MB / 0.5702 GB, free: 21.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3157, allocations: 1.219 kB / 0.5702 GB, free: 21.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3157, allocations: 0 / 0.5702 GB, free: 21.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.3157, allocations: 0 / 0.5702 GB, free: 21.45 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.008724/0.3244, allocations: 2.628 MB / 0.5728 GB, free: 19.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.3245, allocations: 18.12 kB / 0.5728 GB, free: 19.85 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.3247, allocations: 126.3 kB / 0.5729 GB, free: 19.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004295/0.329, allocations: 0.6806 MB / 0.5736 GB, free: 19.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.3301, allocations: 0.8006 MB / 0.5743 GB, free: 18.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002936/0.3304, allocations: 349.6 kB / 0.5747 GB, free: 18.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.3306, allocations: 76.16 kB / 0.5748 GB, free: 18.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.3326, allocations: 1.14 MB / 0.5759 GB, free: 17.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3327, allocations: 0 / 0.5759 GB, free: 17.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.063e-05/0.3328, allocations: 32 kB / 0.5759 GB, free: 17.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.3328, allocations: 20 kB / 0.5759 GB, free: 17.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.3348, allocations: 1.085 MB / 0.577 GB, free: 16.47 MB / 398.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.005313/0.3402, allocations: 3.598 MB / 0.5805 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007053/0.3472, allocations: 2.522 MB / 0.583 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.3488, allocations: 0.7816 MB / 0.5837 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.3489, allocations: 12.98 kB / 0.5837 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.3489, allocations: 43.56 kB / 0.5838 GB, free: 9.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=97): time 3.105e-06/0.3489, allocations: 0 / 0.5838 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=97): time 0.03816/0.3871, allocations: 9.398 MB / 0.5929 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.3872, allocations: 86.11 kB / 0.593 GB, free: 15.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.3885, allocations: 0.9047 MB / 0.5939 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001838/0.3887, allocations: 45.64 kB / 0.594 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.389, allocations: 468.6 kB / 0.5944 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/0.3894, allocations: 343 kB / 0.5947 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/0.3898, allocations: 174.9 kB / 0.5949 GB, free: 13.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3899, allocations: 341.9 kB / 0.5952 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.3915, allocations: 0.6741 MB / 0.5959 GB, free: 12.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.3932, allocations: 0.8314 MB / 0.5967 GB, free: 11.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003242/0.3964, allocations: 1.524 MB / 0.5982 GB, free: 10.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3964, allocations: 3.938 kB / 0.5982 GB, free: 10.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01615/0.4126, allocations: 4.543 MB / 0.6026 GB, free: 5.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.4126, allocations: 7.938 kB / 0.6026 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.4127, allocations: 4 kB / 0.6026 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008335/0.421, allocations: 2.357 MB / 0.6049 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007451/0.4218, allocations: 135.8 kB / 0.6051 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03058/0.4524, allocations: 11.33 MB / 0.6161 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.4541, allocations: 167 kB / 0.6163 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.4543, allocations: 35.98 kB / 0.6163 GB, free: 7.484 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (83): * Single equations (assignments): 82 * 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 {(27,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0004706/0.4548, allocations: 229.7 kB / 0.6165 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000334/0.4551, allocations: 118.6 kB / 0.6167 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01597/0.4711, allocations: 4.436 MB / 0.621 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.4712, allocations: 15.94 kB / 0.621 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4712, allocations: 0 / 0.621 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.4712, allocations: 15.89 kB / 0.621 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/0.4892, allocations: 6.074 MB / 0.6269 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.4893, allocations: 0 / 0.6269 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/0.4898, allocations: 87.89 kB / 0.627 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007972/0.4978, allocations: 2.177 MB / 0.6292 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/0.4979, allocations: 20 kB / 0.6292 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02706/0.525, allocations: 9.951 MB / 0.6389 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5251, allocations: 0 / 0.6389 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01838/0.5434, allocations: 5.506 MB / 0.6443 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005613/0.544, allocations: 215.5 kB / 0.6445 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004697/0.5445, allocations: 19.94 kB / 0.6445 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/0.5461, allocations: 103.9 kB / 0.6446 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007948/0.5469, allocations: 233.1 kB / 0.6448 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.547, allocations: 23.98 kB / 0.6448 GB, free: 9.906 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001011/0.548, allocations: 0.6226 MB / 0.6454 GB, free: 9.273 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.548, allocations: 0 / 0.6454 GB, free: 9.273 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001724/0.5498, allocations: 463.5 kB / 0.6459 GB, free: 8.82 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,gENCLS1.delta,gENCLS1.omega,gENCLS1.eq,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 (55): * Single equations (assignments): 54 * 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 {(27,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01849/0.5683, allocations: 6.077 MB / 0.6518 GB, free: 2.707 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00852/0.5768, allocations: 2.592 MB / 0.6544 GB, free: 108 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5769, allocations: 0 / 0.6544 GB, free: 108 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006013/0.5829, allocations: 1.761 MB / 0.6561 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.5839, allocations: 100.2 kB / 0.6562 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04527/0.6292, allocations: 16.76 MB / 0.6725 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007088/0.63, allocations: 1.084 MB / 0.6736 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004183/0.6304, allocations: 90.95 kB / 0.6737 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006046/0.631, allocations: 431.3 kB / 0.6741 GB, free: 11.43 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.631, allocations: 0 / 0.6741 GB, free: 11.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07068/0.7017, allocations: 38.12 MB / 0.7113 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.27, allocations: 11.16 kB / 0.7113 GB, free: 5.336 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS_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_Machines_PSSE_GENCLS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1)