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.122/0.122, allocations: 12.59 MB / 28.22 MB, free: 0.7305 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.001237/0.001237, allocations: 115.4 kB / 31.84 MB, free: 3.875 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, 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.002031/0.002031, allocations: 192.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5758/0.5758, allocations: 78.52 MB / 419.3 MB, free: 11.25 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.003863/0.003863, allocations: 134.4 kB / 0.5554 GB, free: 29.04 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1766, allocations: 68.13 MB / 0.6219 GB, free: 44 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.01176/0.1884, allocations: 7.082 MB / 0.6288 GB, free: 8.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006214/0.1947, allocations: 2.224 MB / 0.631 GB, free: 6.695 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.1963, allocations: 8 kB / 0.631 GB, free: 6.688 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.1977, allocations: 281.7 kB / 0.6313 GB, free: 6.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004429/0.2022, allocations: 1.127 MB / 0.6324 GB, free: 5.285 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.2039, allocations: 0.5651 MB / 0.6329 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003549/0.2075, allocations: 1.913 MB / 0.6348 GB, free: 2.809 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007804/0.2083, allocations: 324 kB / 0.6351 GB, free: 2.465 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.2098, allocations: 0.7315 MB / 0.6358 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.2117, allocations: 0.957 MB / 0.6367 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005953/0.2123, allocations: 140 kB / 0.6369 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.2137, allocations: 319.8 kB / 0.6372 GB, free: 328 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008244/0.2145, allocations: 366.6 kB / 0.6375 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002216/0.2167, allocations: 0.7536 MB / 0.6383 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005015/0.2218, allocations: 1.866 MB / 0.6401 GB, free: 13.33 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.2218, allocations: 4 kB / 0.6401 GB, free: 13.33 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2218, allocations: 0 / 0.6401 GB, free: 13.33 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.042e-05/0.2219, allocations: 0 / 0.6401 GB, free: 13.33 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.02164/0.2436, allocations: 3.469 MB / 0.6435 GB, free: 9.801 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.132e-05/0.2437, allocations: 15.98 kB / 0.6435 GB, free: 9.785 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005682/0.2443, allocations: 126.9 kB / 0.6436 GB, free: 9.652 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007356/0.2516, allocations: 0.7279 MB / 0.6443 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00326/0.255, allocations: 0.9185 MB / 0.6452 GB, free: 7.949 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006889/0.2557, allocations: 357.2 kB / 0.6456 GB, free: 7.547 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005501/0.2563, allocations: 95.92 kB / 0.6457 GB, free: 7.453 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004028/0.2603, allocations: 1.223 MB / 0.6468 GB, free: 6.215 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.2604, allocations: 3.938 kB / 0.6468 GB, free: 6.211 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.2605, allocations: 32 kB / 0.6469 GB, free: 6.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.2606, allocations: 16 kB / 0.6469 GB, free: 6.164 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003122/0.2637, allocations: 1.167 MB / 0.648 GB, free: 5 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.009721/0.2734, allocations: 4.111 MB / 0.652 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008456/0.2819, allocations: 2.664 MB / 0.6547 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001996/0.2839, allocations: 0.8362 MB / 0.6555 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/0.2841, allocations: 16.91 kB / 0.6555 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.2842, allocations: 43.56 kB / 0.6555 GB, free: 12.99 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 3.126e-06/0.2842, allocations: 0 / 0.6555 GB, free: 12.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.04719/0.3314, allocations: 10.1 MB / 0.6654 GB, free: 2.848 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.3316, allocations: 90.11 kB / 0.6655 GB, free: 2.742 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/0.3346, allocations: 1.121 MB / 0.6666 GB, free: 1.609 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004714/0.3351, allocations: 45.7 kB / 0.6666 GB, free: 1.559 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007654/0.3359, allocations: 0.4934 MB / 0.6671 GB, free: 1.059 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008724/0.3368, allocations: 394.4 kB / 0.6675 GB, free: 0.668 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001074/0.3379, allocations: 279.4 kB / 0.6677 GB, free: 400 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3381, allocations: 309.1 kB / 0.668 GB, free: 88 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002506/0.3406, allocations: 0.8589 MB / 0.6689 GB, free: 15.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002519/0.3431, allocations: 1.045 MB / 0.6699 GB, free: 14.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004685/0.3478, allocations: 1.878 MB / 0.6717 GB, free: 12.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.3479, allocations: 0 / 0.6717 GB, free: 12.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01034/0.3582, allocations: 3.374 MB / 0.675 GB, free: 8.828 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.3583, allocations: 11.94 kB / 0.675 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.3583, allocations: 4 kB / 0.675 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/0.369, allocations: 2.592 MB / 0.6776 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.3706, allocations: 239.7 kB / 0.6778 GB, free: 5.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007951/0.3786, allocations: 2.645 MB / 0.6804 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002569/0.3812, allocations: 198.7 kB / 0.6806 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003365/0.3816, allocations: 55.98 kB / 0.6806 GB, free: 3.055 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.0008916/0.3825, allocations: 265.5 kB / 0.6809 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006968/0.3832, allocations: 138.3 kB / 0.681 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01743/0.4006, allocations: 4.566 MB / 0.6855 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.572e-05/0.4007, allocations: 12 kB / 0.6855 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/0.4007, allocations: 0 / 0.6855 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.866e-05/0.4008, allocations: 7.922 kB / 0.6855 GB, free: 14.04 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.02175/0.4225, allocations: 6.342 MB / 0.6917 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-05/0.4226, allocations: 0 / 0.6917 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007932/0.4234, allocations: 107.8 kB / 0.6918 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008716/0.4322, allocations: 2.142 MB / 0.6939 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003191/0.4325, allocations: 20 kB / 0.6939 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0295/0.462, allocations: 10.05 MB / 0.7037 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.4621, allocations: 3.938 kB / 0.7037 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02037/0.4825, allocations: 5.653 MB / 0.7092 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008162/0.4833, allocations: 235.1 kB / 0.7095 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005892/0.484, allocations: 23.94 kB / 0.7095 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001873/0.4858, allocations: 115.8 kB / 0.7096 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/0.4869, allocations: 237.1 kB / 0.7098 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/0.4871, allocations: 27.98 kB / 0.7098 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001465/0.4886, allocations: 0.7484 MB / 0.7106 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4886, allocations: 0 / 0.7106 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002236/0.4909, allocations: 475.5 kB / 0.711 GB, free: 3.551 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.4153/0.9062, allocations: 6.238 MB / 0.7171 GB, free: 83.35 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008865/0.9151, allocations: 2.584 MB / 0.7196 GB, free: 83.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.9151, allocations: 5.156 kB / 0.7196 GB, free: 83.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006292/0.9214, allocations: 1.809 MB / 0.7214 GB, free: 82.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.9226, allocations: 110.8 kB / 0.7215 GB, free: 82.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04591/0.9686, allocations: 18.15 MB / 0.7392 GB, free: 76.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.9691, allocations: 1.127 MB / 0.7403 GB, free: 75.67 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004591/0.9695, allocations: 105.3 kB / 0.7404 GB, free: 75.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005161/0.9701, allocations: 491.4 kB / 0.7409 GB, free: 75.28 MB / 0.5137 GB Notification: Performance of SimCode: time 8.81e-07/0.9701, allocations: 0 / 0.7409 GB, free: 75.28 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.173/3.143, allocations: 39.22 MB / 0.7792 GB, free: 39.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.17/31.31, allocations: 8 kB / 0.7792 GB, free: 39.64 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)