Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1057/0.1057, allocations: 12.2 MB / 27.43 MB, free: 1.391 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.001243/0.001244, allocations: 123.4 kB / 30.95 MB, free: 4.66 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.636/1.636, allocations: 205.1 MB / 239.4 MB, free: 11.58 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.00135/0.00135, allocations: 192.1 kB / 289.6 MB, free: 15.92 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5295/0.5295, allocations: 78.5 MB / 418.1 MB, free: 31.75 MB / 318.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.002734/0.002734, allocations: 137.1 kB / 498.5 MB, free: 440 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4204, allocations: 68.03 MB / 0.5533 GB, free: 37.78 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.006599/0.4271, allocations: 7.435 MB / 0.5605 GB, free: 32.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004819/0.432, allocations: 2.274 MB / 0.5627 GB, free: 30.69 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.4332, allocations: 14.44 kB / 0.5628 GB, free: 30.69 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006814/0.4339, allocations: 206.4 kB / 0.5629 GB, free: 30.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002469/0.4364, allocations: 0.9945 MB / 0.5639 GB, free: 29.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.4375, allocations: 0.5381 MB / 0.5644 GB, free: 29.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001839/0.4394, allocations: 1.9 MB / 0.5663 GB, free: 28.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000411/0.4398, allocations: 323.3 kB / 0.5666 GB, free: 28.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000666/0.4405, allocations: 0.736 MB / 0.5673 GB, free: 28.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007978/0.4413, allocations: 0.9616 MB / 0.5683 GB, free: 27.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.4415, allocations: 139 kB / 0.5684 GB, free: 27.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005727/0.4421, allocations: 311.9 kB / 0.5687 GB, free: 27.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.4423, allocations: 376.5 kB / 0.5691 GB, free: 27.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004854/0.4428, allocations: 0.7576 MB / 0.5698 GB, free: 27.03 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.4442, allocations: 1.833 MB / 0.5716 GB, free: 26.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4442, allocations: 0 / 0.5716 GB, free: 26.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4442, allocations: 0 / 0.5716 GB, free: 26.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.396e-05/0.4442, allocations: 0 / 0.5716 GB, free: 26.21 MB / 414.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.01157/0.4558, allocations: 3.478 MB / 0.575 GB, free: 24.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.4559, allocations: 13.2 kB / 0.575 GB, free: 24.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.456, allocations: 137.4 kB / 0.5751 GB, free: 24.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004253/0.4603, allocations: 0.7201 MB / 0.5758 GB, free: 24.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.4618, allocations: 0.9208 MB / 0.5767 GB, free: 23.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003674/0.4622, allocations: 354.4 kB / 0.5771 GB, free: 23.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/0.4624, allocations: 98.86 kB / 0.5772 GB, free: 23.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/0.4653, allocations: 1.216 MB / 0.5783 GB, free: 23.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.4653, allocations: 0 / 0.5783 GB, free: 23.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.4654, allocations: 30.19 kB / 0.5784 GB, free: 23.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.4654, allocations: 19.72 kB / 0.5784 GB, free: 23.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002609/0.468, allocations: 1.167 MB / 0.5795 GB, free: 22.76 MB / 414.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.008085/0.4761, allocations: 4.122 MB / 0.5836 GB, free: 20.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008027/0.4842, allocations: 2.68 MB / 0.5862 GB, free: 19.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/0.486, allocations: 0.8402 MB / 0.587 GB, free: 18.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.4861, allocations: 21.78 kB / 0.587 GB, free: 18.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.4862, allocations: 43.72 kB / 0.5871 GB, free: 18.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=108): time 3.507e-06/0.4862, allocations: 0 / 0.5871 GB, free: 18.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.0411/0.5273, allocations: 10.1 MB / 0.5969 GB, free: 13.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.5274, allocations: 98.05 kB / 0.597 GB, free: 13.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.529, allocations: 1.117 MB / 0.5981 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003464/0.5293, allocations: 45.7 kB / 0.5982 GB, free: 12.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.5296, allocations: 0.4973 MB / 0.5986 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003881/0.53, allocations: 390.5 kB / 0.599 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004865/0.5305, allocations: 279.4 kB / 0.5993 GB, free: 11.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.265e-05/0.5306, allocations: 305.1 kB / 0.5996 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.5321, allocations: 0.8628 MB / 0.6004 GB, free: 10.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.5338, allocations: 1.037 MB / 0.6014 GB, free: 8.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003119/0.5369, allocations: 1.878 MB / 0.6033 GB, free: 7.066 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.5369, allocations: 0 / 0.6033 GB, free: 7.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007627/0.5446, allocations: 3.382 MB / 0.6066 GB, free: 3.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.5446, allocations: 4 kB / 0.6066 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.5446, allocations: 4 kB / 0.6066 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008338/0.553, allocations: 2.596 MB / 0.6091 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.5542, allocations: 247.6 kB / 0.6093 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005962/0.5602, allocations: 2.645 MB / 0.6119 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.5624, allocations: 206.5 kB / 0.6121 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.5625, allocations: 55.98 kB / 0.6122 GB, free: 13.89 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.0006652/0.5632, allocations: 259 kB / 0.6124 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/0.5635, allocations: 130.4 kB / 0.6125 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01477/0.5783, allocations: 4.57 MB / 0.617 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/0.5783, allocations: 16 kB / 0.617 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.5783, allocations: 3.984 kB / 0.617 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.565e-05/0.5784, allocations: 7.922 kB / 0.617 GB, free: 8.875 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 postOpt removeSimpleEquations (simulation): time 0.01794/0.5963, allocations: 6.342 MB / 0.6232 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.5964, allocations: 8 kB / 0.6232 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006519/0.597, allocations: 103.9 kB / 0.6233 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007247/0.6043, allocations: 2.146 MB / 0.6254 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001783/0.6045, allocations: 23.98 kB / 0.6255 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02678/0.6313, allocations: 10.05 MB / 0.6353 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/0.6314, allocations: 7.938 kB / 0.6353 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01895/0.6504, allocations: 5.651 MB / 0.6408 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.6514, allocations: 231.2 kB / 0.641 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007582/0.6522, allocations: 27.94 kB / 0.641 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001863/0.6541, allocations: 107.9 kB / 0.6411 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001089/0.6552, allocations: 241 kB / 0.6414 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002028/0.6554, allocations: 28 kB / 0.6414 GB, free: 15.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001594/0.657, allocations: 0.7523 MB / 0.6421 GB, free: 14.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6571, allocations: 0 / 0.6421 GB, free: 14.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002498/0.6596, allocations: 475.5 kB / 0.6426 GB, free: 14.37 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.01951/0.6791, allocations: 6.249 MB / 0.6487 GB, free: 8.078 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01051/0.6897, allocations: 2.611 MB / 0.6512 GB, free: 5.473 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.6897, allocations: 0 / 0.6512 GB, free: 5.473 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006833/0.6966, allocations: 1.815 MB / 0.653 GB, free: 3.645 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.6988, allocations: 112.6 kB / 0.6531 GB, free: 3.535 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05631/0.7551, allocations: 19.35 MB / 0.672 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/0.7563, allocations: 1.123 MB / 0.6731 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008097/0.7571, allocations: 116.3 kB / 0.6732 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/0.7582, allocations: 487.3 kB / 0.6737 GB, free: 13.98 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/0.7582, allocations: 0 / 0.6737 GB, free: 13.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07278/0.831, allocations: 35.88 MB / 0.7087 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/0.8313, allocations: 218.5 kB / 0.7089 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.245/4.077, allocations: 0 / 0.7089 GB, free: 9.906 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)