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-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.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-master/package.mo): time 0.08298/0.08298, allocations: 12.59 MB / 28.22 MB, free: 0.6953 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.00112/0.00112, allocations: 107.4 kB / 31.83 MB, free: 3.855 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.301/1.301, 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.001502/0.001502, allocations: 196.4 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.4119/0.4119, allocations: 78.51 MB / 419.3 MB, free: 11.21 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.002544/0.002544, allocations: 134.7 kB / 0.5554 GB, free: 28.84 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1188, allocations: 68.13 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.008342/0.1272, allocations: 7.085 MB / 0.6288 GB, free: 8.793 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004588/0.1318, allocations: 2.22 MB / 0.631 GB, free: 6.562 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009815/0.1329, allocations: 12 kB / 0.631 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008177/0.1337, allocations: 269.8 kB / 0.6313 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.1367, allocations: 1.19 MB / 0.6324 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1379, allocations: 0.5692 MB / 0.633 GB, free: 4.535 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001895/0.1399, allocations: 1.917 MB / 0.6348 GB, free: 2.613 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004121/0.1403, allocations: 324 kB / 0.6352 GB, free: 2.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006853/0.141, allocations: 0.7315 MB / 0.6359 GB, free: 1.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009507/0.1419, allocations: 0.9648 MB / 0.6368 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.1421, allocations: 140 kB / 0.6369 GB, free: 440 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005331/0.1427, allocations: 307.8 kB / 0.6372 GB, free: 132 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002756/0.143, allocations: 378.6 kB / 0.6376 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005531/0.1435, allocations: 0.7536 MB / 0.6383 GB, free: 15 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.1452, allocations: 1.858 MB / 0.6401 GB, free: 13.14 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1452, allocations: 0 / 0.6401 GB, free: 13.14 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1452, allocations: 0 / 0.6401 GB, free: 13.14 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.348e-05/0.1452, allocations: 4 kB / 0.6402 GB, free: 13.13 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.01142/0.1566, allocations: 3.469 MB / 0.6435 GB, free: 9.605 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1567, allocations: 15.98 kB / 0.6436 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001579/0.1569, allocations: 138.8 kB / 0.6437 GB, free: 9.445 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004272/0.1611, allocations: 0.7123 MB / 0.6444 GB, free: 8.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.1625, allocations: 0.9185 MB / 0.6453 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/0.1628, allocations: 353.3 kB / 0.6456 GB, free: 7.359 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.163, allocations: 99.86 kB / 0.6457 GB, free: 7.262 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.1653, allocations: 1.219 MB / 0.6469 GB, free: 6.027 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.1653, allocations: 0 / 0.6469 GB, free: 6.027 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.1654, allocations: 36 kB / 0.6469 GB, free: 5.992 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.1654, allocations: 20 kB / 0.647 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.1677, allocations: 1.159 MB / 0.6481 GB, free: 4.816 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.00679/0.1745, allocations: 4.107 MB / 0.6521 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007078/0.1816, allocations: 2.676 MB / 0.6547 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.1832, allocations: 0.8245 MB / 0.6555 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.1834, allocations: 24.97 kB / 0.6555 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.1834, allocations: 43.56 kB / 0.6556 GB, free: 12.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 3.105e-06/0.1834, allocations: 0 / 0.6556 GB, free: 12.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.03915/0.2226, allocations: 10.1 MB / 0.6654 GB, free: 2.664 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.2227, allocations: 98.05 kB / 0.6655 GB, free: 2.551 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.2245, allocations: 1.109 MB / 0.6666 GB, free: 1.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002887/0.2248, allocations: 45.7 kB / 0.6667 GB, free: 1.379 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/0.2252, allocations: 0.5011 MB / 0.6672 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005716/0.2258, allocations: 390.4 kB / 0.6675 GB, free: 496 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008285/0.2266, allocations: 291.4 kB / 0.6678 GB, free: 200 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2268, allocations: 301.1 kB / 0.6681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/0.2287, allocations: 0.8589 MB / 0.6689 GB, free: 15.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.2306, allocations: 1.037 MB / 0.6699 GB, free: 13.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003651/0.2343, allocations: 1.882 MB / 0.6718 GB, free: 12.03 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.2343, allocations: 7.938 kB / 0.6718 GB, free: 12.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008115/0.2425, allocations: 3.386 MB / 0.6751 GB, free: 8.625 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.2425, allocations: 4 kB / 0.6751 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.2425, allocations: 4 kB / 0.6751 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008667/0.2512, allocations: 2.596 MB / 0.6776 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.2523, allocations: 239.6 kB / 0.6779 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005702/0.2581, allocations: 2.637 MB / 0.6804 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.2599, allocations: 198.7 kB / 0.6806 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.2601, allocations: 59.97 kB / 0.6807 GB, free: 2.859 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.0005215/0.2606, allocations: 265.5 kB / 0.6809 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/0.261, allocations: 130.3 kB / 0.6811 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/0.2748, allocations: 4.566 MB / 0.6855 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.2749, allocations: 12 kB / 0.6855 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.2749, allocations: 0 / 0.6855 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.98e-05/0.275, allocations: 11.91 kB / 0.6855 GB, free: 13.85 MB / 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.01663/0.2916, allocations: 6.346 MB / 0.6917 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/0.2917, allocations: 4 kB / 0.6917 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006452/0.2923, allocations: 107.9 kB / 0.6918 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006919/0.2992, allocations: 2.134 MB / 0.6939 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002235/0.2995, allocations: 23.98 kB / 0.694 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02497/0.3245, allocations: 10.04 MB / 0.7038 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.3245, allocations: 7.875 kB / 0.7038 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0165/0.341, allocations: 5.653 MB / 0.7093 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/0.3416, allocations: 243.1 kB / 0.7095 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003711/0.342, allocations: 27.94 kB / 0.7095 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/0.3434, allocations: 95.89 kB / 0.7096 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008469/0.3443, allocations: 249.1 kB / 0.7099 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.3444, allocations: 28 kB / 0.7099 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001188/0.3456, allocations: 0.7406 MB / 0.7106 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3456, allocations: 0 / 0.7106 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001612/0.3473, allocations: 483.5 kB / 0.7111 GB, free: 3.359 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.2531/0.6004, allocations: 6.232 MB / 0.7172 GB, free: 83.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007826/0.6083, allocations: 2.588 MB / 0.7197 GB, free: 83.15 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6083, allocations: 0 / 0.7197 GB, free: 83.15 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00587/0.6142, allocations: 1.813 MB / 0.7215 GB, free: 82.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.6153, allocations: 106.5 kB / 0.7216 GB, free: 82.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04136/0.6567, allocations: 18.14 MB / 0.7393 GB, free: 76.33 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/0.6572, allocations: 1.136 MB / 0.7404 GB, free: 75.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005534/0.6578, allocations: 113.1 kB / 0.7405 GB, free: 75.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005354/0.6584, allocations: 491.7 kB / 0.741 GB, free: 75.2 MB / 0.5137 GB Notification: Performance of SimCode: time 8.41e-07/0.6584, allocations: 0 / 0.741 GB, free: 75.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05721/0.7156, allocations: 37.59 MB / 0.7777 GB, free: 41.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.86, allocations: 11.12 kB / 0.7777 GB, free: 41.05 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)