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.005032/0.005032, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.326/1.326, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001321/0.001321, allocations: 192.4 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5034/0.5034, allocations: 91.89 MB / 431.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 81.81 kB / 0.5722 GB, free: 34.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1335, allocations: 71.28 MB / 0.6419 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.006877/0.1404, allocations: 7.041 MB / 0.6487 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004865/0.1453, allocations: 2.258 MB / 0.6509 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008764/0.1462, allocations: 12 kB / 0.6509 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006987/0.1469, allocations: 273.7 kB / 0.6512 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.1497, allocations: 1.088 MB / 0.6523 GB, free: 9.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.1511, allocations: 0.5711 MB / 0.6528 GB, free: 8.938 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002366/0.1535, allocations: 1.776 MB / 0.6546 GB, free: 7.156 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005258/0.154, allocations: 320.6 kB / 0.6549 GB, free: 6.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.1551, allocations: 0.7237 MB / 0.6556 GB, free: 6.094 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.1564, allocations: 0.9453 MB / 0.6565 GB, free: 5.145 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003789/0.1568, allocations: 140 kB / 0.6566 GB, free: 5.008 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008119/0.1577, allocations: 315.8 kB / 0.6569 GB, free: 4.699 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003532/0.158, allocations: 370.5 kB / 0.6573 GB, free: 4.336 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00079/0.1588, allocations: 0.7458 MB / 0.658 GB, free: 3.586 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.1609, allocations: 1.848 MB / 0.6598 GB, free: 1.734 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1609, allocations: 4 kB / 0.6598 GB, free: 1.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1609, allocations: 0 / 0.6598 GB, free: 1.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.625e-05/0.161, allocations: 0 / 0.6598 GB, free: 1.73 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.01209/0.1731, allocations: 3.258 MB / 0.663 GB, free: 14.42 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.1731, allocations: 8.031 kB / 0.663 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002157/0.1734, allocations: 134.9 kB / 0.6631 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004739/0.1781, allocations: 0.7201 MB / 0.6638 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.1799, allocations: 0.9224 MB / 0.6647 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/0.1804, allocations: 349.3 kB / 0.6651 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.1806, allocations: 99.84 kB / 0.6652 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.1829, allocations: 1.223 MB / 0.6664 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.1829, allocations: 0 / 0.6664 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.183, allocations: 35.97 kB / 0.6664 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.183, allocations: 20 kB / 0.6664 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.1854, allocations: 1.163 MB / 0.6676 GB, free: 9.617 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.007056/0.1925, allocations: 4.103 MB / 0.6716 GB, free: 5.32 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007157/0.1997, allocations: 2.679 MB / 0.6742 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/0.2014, allocations: 0.8367 MB / 0.675 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.2015, allocations: 13 kB / 0.675 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.2016, allocations: 43.56 kB / 0.6751 GB, free: 1.605 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 2.675e-06/0.2016, allocations: 0 / 0.6751 GB, free: 1.605 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.0411/0.2427, allocations: 10.11 MB / 0.6849 GB, free: 7.457 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.2428, allocations: 86.11 kB / 0.685 GB, free: 7.355 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.2446, allocations: 1.113 MB / 0.6861 GB, free: 6.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000299/0.2449, allocations: 45.7 kB / 0.6861 GB, free: 6.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/0.2454, allocations: 0.4972 MB / 0.6866 GB, free: 5.676 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005857/0.246, allocations: 402.3 kB / 0.687 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008049/0.2468, allocations: 283.4 kB / 0.6873 GB, free: 4.996 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.204e-05/0.2469, allocations: 309.1 kB / 0.6876 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/0.2488, allocations: 0.8628 MB / 0.6884 GB, free: 3.828 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/0.2507, allocations: 1.041 MB / 0.6894 GB, free: 2.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003832/0.2546, allocations: 1.87 MB / 0.6913 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.2546, allocations: 4 kB / 0.6913 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008509/0.2631, allocations: 3.374 MB / 0.6946 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.2632, allocations: 4 kB / 0.6946 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.2632, allocations: 4 kB / 0.6946 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008779/0.272, allocations: 2.596 MB / 0.6971 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.2732, allocations: 243.6 kB / 0.6973 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005743/0.2789, allocations: 2.637 MB / 0.6999 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.2808, allocations: 198.7 kB / 0.7001 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/0.281, allocations: 55.98 kB / 0.7001 GB, free: 7.672 MB / 0.4981 GB 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.0005563/0.2816, allocations: 266.5 kB / 0.7004 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003725/0.282, allocations: 130.3 kB / 0.7005 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/0.2963, allocations: 4.566 MB / 0.705 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.16e-05/0.2964, allocations: 12 kB / 0.705 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.2964, allocations: 0 / 0.705 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.973e-05/0.2964, allocations: 7.922 kB / 0.705 GB, free: 2.664 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.01901/0.3155, allocations: 6.346 MB / 0.7112 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.3155, allocations: 7.938 kB / 0.7112 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006864/0.3162, allocations: 111.8 kB / 0.7113 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007025/0.3233, allocations: 2.138 MB / 0.7134 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002349/0.3235, allocations: 20 kB / 0.7134 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02449/0.348, allocations: 10.05 MB / 0.7232 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.3481, allocations: 3.938 kB / 0.7232 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0166/0.3647, allocations: 5.66 MB / 0.7288 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004971/0.3652, allocations: 235.1 kB / 0.729 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003714/0.3656, allocations: 23.94 kB / 0.729 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.367, allocations: 103.9 kB / 0.7291 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008101/0.3679, allocations: 241.1 kB / 0.7293 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001476/0.368, allocations: 31.98 kB / 0.7294 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001112/0.3691, allocations: 0.7406 MB / 0.7301 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3692, allocations: 0 / 0.7301 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001476/0.3706, allocations: 475.5 kB / 0.7305 GB, free: 8.164 MB / 0.5294 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.01672/0.3874, allocations: 6.241 MB / 0.7366 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008079/0.3955, allocations: 2.595 MB / 0.7392 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.3955, allocations: 3.938 kB / 0.7392 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005812/0.4013, allocations: 1.808 MB / 0.7409 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.4028, allocations: 110.4 kB / 0.7411 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04541/0.4482, allocations: 18.14 MB / 0.7588 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007146/0.449, allocations: 1.127 MB / 0.7599 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000495/0.4495, allocations: 112.3 kB / 0.76 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007401/0.4503, allocations: 491.3 kB / 0.7604 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/0.4503, allocations: 0 / 0.7604 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3623/0.8126, allocations: 37.58 MB / 0.7971 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.98, allocations: 12.53 kB / 0.7972 GB, free: 105.9 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)