Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.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.GENCLS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS",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.004825/0.004825, allocations: 103.2 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001189/0.001189, allocations: 188.5 kB / 289.7 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5339/0.5339, allocations: 91.89 MB / 431.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 79.44 kB / 0.5722 GB, free: 33.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1223, allocations: 71.28 MB / 0.6419 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.006387/0.1287, allocations: 6.192 MB / 0.6479 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003544/0.1323, allocations: 1.864 MB / 0.6497 GB, free: 12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006125/0.133, allocations: 8 kB / 0.6497 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005426/0.1335, allocations: 238 kB / 0.65 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.1349, allocations: 0.6475 MB / 0.6506 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.1365, allocations: 0.8056 MB / 0.6514 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001433/0.138, allocations: 1.522 MB / 0.6529 GB, free: 8.781 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.1384, allocations: 282.3 kB / 0.6531 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000575/0.1389, allocations: 0.6186 MB / 0.6537 GB, free: 7.875 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008131/0.1398, allocations: 0.8051 MB / 0.6545 GB, free: 7.066 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.1399, allocations: 116 kB / 0.6546 GB, free: 6.953 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.1403, allocations: 224 kB / 0.6548 GB, free: 6.734 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.1405, allocations: 306.8 kB / 0.6551 GB, free: 6.434 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004869/0.141, allocations: 0.6331 MB / 0.6558 GB, free: 5.797 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.1424, allocations: 1.558 MB / 0.6573 GB, free: 4.234 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1424, allocations: 0 / 0.6573 GB, free: 4.234 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1424, allocations: 0 / 0.6573 GB, free: 4.234 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.1424, allocations: 0 / 0.6573 GB, free: 4.234 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.007625/0.15, allocations: 2.61 MB / 0.6598 GB, free: 1.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1501, allocations: 12.03 kB / 0.6598 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.1502, allocations: 122.5 kB / 0.66 GB, free: 1.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003848/0.1541, allocations: 0.6774 MB / 0.6606 GB, free: 0.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.1552, allocations: 0.8071 MB / 0.6614 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003488/0.1556, allocations: 345.2 kB / 0.6617 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.1557, allocations: 75.94 kB / 0.6618 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.1578, allocations: 1.145 MB / 0.6629 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.1579, allocations: 0 / 0.6629 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.623e-05/0.158, allocations: 32 kB / 0.663 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.158, allocations: 16 kB / 0.663 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.1602, allocations: 1.085 MB / 0.664 GB, free: 13.12 MB / 478.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.005883/0.1661, allocations: 3.578 MB / 0.6675 GB, free: 9.375 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006843/0.1729, allocations: 2.523 MB / 0.67 GB, free: 6.727 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/0.1745, allocations: 0.7899 MB / 0.6708 GB, free: 5.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.1747, allocations: 16.97 kB / 0.6708 GB, free: 5.914 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1747, allocations: 47.5 kB / 0.6708 GB, free: 5.859 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 2.474e-06/0.1747, allocations: 0 / 0.6708 GB, free: 5.859 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.03719/0.2119, allocations: 9.391 MB / 0.68 GB, free: 12.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.212, allocations: 90.05 kB / 0.6801 GB, free: 12.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.2132, allocations: 0.9048 MB / 0.681 GB, free: 11.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.2134, allocations: 41.7 kB / 0.681 GB, free: 11.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.2137, allocations: 472.6 kB / 0.6815 GB, free: 10.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003735/0.2141, allocations: 339 kB / 0.6818 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003663/0.2144, allocations: 174.9 kB / 0.6819 GB, free: 10.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2146, allocations: 341.9 kB / 0.6823 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.2161, allocations: 0.678 MB / 0.6829 GB, free: 9.348 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.2177, allocations: 0.8237 MB / 0.6837 GB, free: 8.473 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003033/0.2207, allocations: 1.528 MB / 0.6852 GB, free: 6.891 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.2207, allocations: 3.938 kB / 0.6852 GB, free: 6.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01818/0.2389, allocations: 4.539 MB / 0.6897 GB, free: 2.336 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.239, allocations: 11.98 kB / 0.6897 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.239, allocations: 4 kB / 0.6897 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0103/0.2494, allocations: 2.345 MB / 0.692 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009756/0.2504, allocations: 151.7 kB / 0.6921 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03884/0.2892, allocations: 11.31 MB / 0.7032 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.2913, allocations: 167 kB / 0.7033 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/0.2916, allocations: 35.98 kB / 0.7034 GB, free: 4.156 MB / 0.4981 GB 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.0007178/0.2923, allocations: 230.8 kB / 0.7036 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004622/0.2928, allocations: 114.6 kB / 0.7037 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01477/0.3075, allocations: 4.436 MB / 0.708 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/0.3076, allocations: 12 kB / 0.708 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3076, allocations: 0 / 0.708 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/0.3077, allocations: 7.922 kB / 0.708 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/0.3247, allocations: 6.074 MB / 0.714 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.3247, allocations: 0 / 0.714 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.3252, allocations: 95.89 kB / 0.7141 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006881/0.3321, allocations: 2.162 MB / 0.7162 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.3323, allocations: 19.98 kB / 0.7162 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02394/0.3562, allocations: 9.939 MB / 0.7259 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3563, allocations: 4 kB / 0.7259 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01596/0.3722, allocations: 5.511 MB / 0.7313 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.3727, allocations: 211.5 kB / 0.7315 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002637/0.3729, allocations: 20.12 kB / 0.7315 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.3742, allocations: 103.9 kB / 0.7316 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008515/0.3751, allocations: 233.1 kB / 0.7318 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.3752, allocations: 24 kB / 0.7318 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001109/0.3763, allocations: 0.6226 MB / 0.7325 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3764, allocations: 4 kB / 0.7325 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001825/0.3782, allocations: 463.5 kB / 0.7329 GB, free: 5.527 MB / 0.5294 GB 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.01644/0.3946, allocations: 6.081 MB / 0.7388 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007118/0.4018, allocations: 2.553 MB / 0.7413 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.4018, allocations: 0 / 0.7413 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005151/0.407, allocations: 1.768 MB / 0.7431 GB, free: 11.06 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.408, allocations: 100.2 kB / 0.7432 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04059/0.4486, allocations: 16.2 MB / 0.759 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.4497, allocations: 1.084 MB / 0.76 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000508/0.4503, allocations: 90.97 kB / 0.7601 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008035/0.4511, allocations: 427.3 kB / 0.7605 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.4511, allocations: 0 / 0.7605 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3152/0.7663, allocations: 38.52 MB / 0.7981 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.8, allocations: 13.33 kB / 0.7982 GB, free: 104.3 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1)