Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_dev_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.00137/0.00137, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 239.3 MB, free: 4.574 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.00132/0.00132, allocations: 196.4 kB / 289.6 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5083/0.5083, allocations: 91.9 MB / 431.6 MB, free: 9.25 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 75.88 kB / 0.502 GB, free: 7.617 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3236, allocations: 71.28 MB / 0.5716 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.005365/0.329, allocations: 7.027 MB / 0.5784 GB, free: 32.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003333/0.3324, allocations: 2.254 MB / 0.5806 GB, free: 30.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000437/0.3328, allocations: 11.59 kB / 0.5807 GB, free: 30.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004543/0.3333, allocations: 272.5 kB / 0.5809 GB, free: 30.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.3352, allocations: 1.039 MB / 0.5819 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009495/0.3361, allocations: 0.58 MB / 0.5825 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.3374, allocations: 1.752 MB / 0.5842 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003809/0.3378, allocations: 335.7 kB / 0.5845 GB, free: 28.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006006/0.3384, allocations: 0.7254 MB / 0.5852 GB, free: 28.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000757/0.3392, allocations: 0.9431 MB / 0.5862 GB, free: 28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002077/0.3394, allocations: 141.1 kB / 0.5863 GB, free: 28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005308/0.34, allocations: 312.5 kB / 0.5866 GB, free: 27.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.3402, allocations: 372.8 kB / 0.5869 GB, free: 27.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000466/0.3407, allocations: 0.7461 MB / 0.5877 GB, free: 27.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.342, allocations: 1.832 MB / 0.5895 GB, free: 26.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.342, allocations: 1.25 kB / 0.5895 GB, free: 26.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.342, allocations: 0 / 0.5895 GB, free: 26.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.5e-05/0.3421, allocations: 0 / 0.5895 GB, free: 26.39 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.01128/0.3534, allocations: 3.266 MB / 0.5927 GB, free: 25.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3534, allocations: 9.562 kB / 0.5927 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/0.3536, allocations: 126.9 kB / 0.5928 GB, free: 24.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004661/0.3582, allocations: 0.7222 MB / 0.5935 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.3601, allocations: 0.9202 MB / 0.5944 GB, free: 24.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003909/0.3605, allocations: 358 kB / 0.5947 GB, free: 23.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.3607, allocations: 97 kB / 0.5948 GB, free: 23.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/0.3634, allocations: 1.214 MB / 0.596 GB, free: 23.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.3634, allocations: 0 / 0.596 GB, free: 23.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.3635, allocations: 29.94 kB / 0.596 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.3636, allocations: 24 kB / 0.5961 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002707/0.3663, allocations: 1.166 MB / 0.5972 GB, free: 22.97 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.008665/0.375, allocations: 4.135 MB / 0.6012 GB, free: 20.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008118/0.3831, allocations: 2.669 MB / 0.6038 GB, free: 19.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/0.385, allocations: 0.8278 MB / 0.6046 GB, free: 19.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.3852, allocations: 25.62 kB / 0.6047 GB, free: 19.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.3852, allocations: 44.39 kB / 0.6047 GB, free: 19.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 2.645e-06/0.3852, allocations: 0 / 0.6047 GB, free: 19.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.04401/0.4292, allocations: 10.1 MB / 0.6146 GB, free: 16.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.4293, allocations: 87.86 kB / 0.6147 GB, free: 16.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.4308, allocations: 1.118 MB / 0.6158 GB, free: 15.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000227/0.4311, allocations: 50.23 kB / 0.6158 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.4314, allocations: 0.4985 MB / 0.6163 GB, free: 15.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.4317, allocations: 391.5 kB / 0.6167 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004936/0.4322, allocations: 285.2 kB / 0.6169 GB, free: 14.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.592e-05/0.4322, allocations: 305.1 kB / 0.6172 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/0.4341, allocations: 0.8559 MB / 0.6181 GB, free: 13.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/0.436, allocations: 1.046 MB / 0.6191 GB, free: 13.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003451/0.4394, allocations: 1.876 MB / 0.6209 GB, free: 11.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.4395, allocations: 7.938 kB / 0.6209 GB, free: 11.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008396/0.4479, allocations: 3.367 MB / 0.6242 GB, free: 7.973 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.4479, allocations: 6.031 kB / 0.6242 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4479, allocations: 4 kB / 0.6242 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008889/0.4568, allocations: 2.604 MB / 0.6268 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.458, allocations: 243.7 kB / 0.627 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005662/0.4637, allocations: 2.649 MB / 0.6296 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.4657, allocations: 202.6 kB / 0.6298 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.4659, allocations: 55.98 kB / 0.6298 GB, free: 2.188 MB / 430.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.0005089/0.4664, allocations: 262.6 kB / 0.6301 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.4667, allocations: 134.3 kB / 0.6302 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01553/0.4822, allocations: 4.57 MB / 0.6347 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.4822, allocations: 12 kB / 0.6347 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4823, allocations: 0 / 0.6347 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/0.4823, allocations: 7.922 kB / 0.6347 GB, free: 13.18 MB / 446.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.01859/0.5009, allocations: 6.349 MB / 0.6409 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.5009, allocations: 0 / 0.6409 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007156/0.5017, allocations: 107.8 kB / 0.641 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00792/0.5096, allocations: 2.149 MB / 0.6431 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000196/0.5098, allocations: 16 kB / 0.6431 GB, free: 4.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02652/0.5363, allocations: 10.05 MB / 0.6529 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.5364, allocations: 3.938 kB / 0.6529 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01834/0.5547, allocations: 5.655 MB / 0.6584 GB, free: 4.531 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006707/0.5554, allocations: 235.1 kB / 0.6587 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005726/0.556, allocations: 23.94 kB / 0.6587 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/0.5577, allocations: 107.9 kB / 0.6588 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008487/0.5586, allocations: 237.1 kB / 0.659 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/0.5587, allocations: 31.98 kB / 0.6591 GB, free: 3.887 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001242/0.56, allocations: 0.7484 MB / 0.6598 GB, free: 3.133 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.56, allocations: 3.938 kB / 0.6598 GB, free: 3.129 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001729/0.5617, allocations: 475.5 kB / 0.6602 GB, free: 2.664 MB / 462.1 MB 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.01856/0.5803, allocations: 6.237 MB / 0.6663 GB, free: 12.39 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008964/0.5893, allocations: 2.626 MB / 0.6689 GB, free: 9.766 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.5894, allocations: 0 / 0.6689 GB, free: 9.766 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006267/0.5956, allocations: 1.815 MB / 0.6707 GB, free: 7.938 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.597, allocations: 116.6 kB / 0.6708 GB, free: 7.824 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04881/0.6458, allocations: 18.92 MB / 0.6893 GB, free: 4.445 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007805/0.6466, allocations: 1.127 MB / 0.6904 GB, free: 3.281 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005362/0.6472, allocations: 112.3 kB / 0.6905 GB, free: 3.168 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007066/0.6479, allocations: 495.3 kB / 0.6909 GB, free: 2.684 MB / 494.1 MB Notification: Performance of SimCode: time 1.984e-06/0.6479, allocations: 0 / 0.6909 GB, free: 2.684 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08676/0.7347, allocations: 37.15 MB / 0.7272 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.5, allocations: 18.89 kB / 0.7272 GB, free: 13.62 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)