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.008226/0.008227, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.394/1.394, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001568/0.001568, allocations: 188.4 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5552/0.5552, allocations: 92.61 MB / 432.5 MB, free: 8.48 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 85.27 kB / 0.5732 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1116, allocations: 71.42 MB / 0.643 GB, free: 3.105 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.008333/0.12, allocations: 7.035 MB / 0.6498 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004623/0.1247, allocations: 2.243 MB / 0.652 GB, free: 9.781 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007044/0.1254, allocations: 12 kB / 0.652 GB, free: 9.77 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006117/0.126, allocations: 277.7 kB / 0.6523 GB, free: 9.496 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002452/0.1285, allocations: 1.047 MB / 0.6533 GB, free: 8.445 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.1298, allocations: 0.5618 MB / 0.6539 GB, free: 7.891 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002267/0.1321, allocations: 1.776 MB / 0.6556 GB, free: 6.109 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005007/0.1326, allocations: 328.2 kB / 0.6559 GB, free: 5.766 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009147/0.1336, allocations: 0.7236 MB / 0.6566 GB, free: 5.039 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.1347, allocations: 0.9414 MB / 0.6575 GB, free: 4.094 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002368/0.135, allocations: 140 kB / 0.6577 GB, free: 3.957 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006354/0.1356, allocations: 319.8 kB / 0.658 GB, free: 3.645 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003588/0.136, allocations: 374.4 kB / 0.6583 GB, free: 3.277 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007611/0.1368, allocations: 0.7419 MB / 0.6591 GB, free: 2.531 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.139, allocations: 1.852 MB / 0.6609 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.139, allocations: 4 kB / 0.6609 GB, free: 0.668 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.139, allocations: 0 / 0.6609 GB, free: 0.668 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.285e-05/0.139, allocations: 0 / 0.6609 GB, free: 0.668 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.01196/0.151, allocations: 3.304 MB / 0.6641 GB, free: 13.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1511, allocations: 8.031 kB / 0.6641 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001917/0.1513, allocations: 134.9 kB / 0.6642 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004618/0.1559, allocations: 0.7249 MB / 0.6649 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.1576, allocations: 0.9351 MB / 0.6659 GB, free: 11.44 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004249/0.1581, allocations: 353.2 kB / 0.6662 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.1583, allocations: 95.75 kB / 0.6663 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/0.1609, allocations: 1.227 MB / 0.6675 GB, free: 9.711 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.161, allocations: 0 / 0.6675 GB, free: 9.711 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.1611, allocations: 28 kB / 0.6675 GB, free: 9.684 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.1611, allocations: 20 kB / 0.6675 GB, free: 9.664 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/0.1638, allocations: 1.163 MB / 0.6687 GB, free: 8.496 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.008068/0.1719, allocations: 4.115 MB / 0.6727 GB, free: 4.188 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008466/0.1803, allocations: 2.671 MB / 0.6753 GB, free: 1.387 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/0.1824, allocations: 0.8328 MB / 0.6761 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.1826, allocations: 16.98 kB / 0.6761 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.1826, allocations: 47.5 kB / 0.6762 GB, free: 488 kB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 3.417e-06/0.1826, allocations: 0 / 0.6762 GB, free: 488 kB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.04488/0.2275, allocations: 10.11 MB / 0.686 GB, free: 6.324 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.2276, allocations: 86.11 kB / 0.6861 GB, free: 6.223 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.2295, allocations: 1.125 MB / 0.6872 GB, free: 5.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003095/0.2298, allocations: 45.7 kB / 0.6873 GB, free: 5.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005069/0.2304, allocations: 0.498 MB / 0.6878 GB, free: 4.531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005976/0.231, allocations: 412.5 kB / 0.6881 GB, free: 4.125 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006235/0.2316, allocations: 283.5 kB / 0.6884 GB, free: 3.844 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2317, allocations: 305.1 kB / 0.6887 GB, free: 3.543 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002145/0.2339, allocations: 0.8589 MB / 0.6895 GB, free: 2.684 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/0.2362, allocations: 1.041 MB / 0.6906 GB, free: 1.594 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004354/0.2406, allocations: 1.874 MB / 0.6924 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.2406, allocations: 4 kB / 0.6924 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009647/0.2503, allocations: 3.387 MB / 0.6957 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.2504, allocations: 4 kB / 0.6957 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.2504, allocations: 4 kB / 0.6957 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/0.2606, allocations: 2.6 MB / 0.6982 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.2619, allocations: 247.6 kB / 0.6985 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006935/0.2689, allocations: 2.645 MB / 0.7011 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.2708, allocations: 207 kB / 0.7013 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.271, allocations: 55.92 kB / 0.7013 GB, free: 6.484 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.0005104/0.2715, allocations: 258.7 kB / 0.7016 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.2718, allocations: 135.1 kB / 0.7017 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/0.2882, allocations: 4.566 MB / 0.7062 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.2883, allocations: 12 kB / 0.7062 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2883, allocations: 0 / 0.7062 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/0.2883, allocations: 7.922 kB / 0.7062 GB, free: 1.48 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.3073, allocations: 6.358 MB / 0.7124 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.3074, allocations: 0 / 0.7124 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006532/0.308, allocations: 107.9 kB / 0.7125 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00793/0.316, allocations: 2.134 MB / 0.7146 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/0.3162, allocations: 20 kB / 0.7146 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02768/0.3439, allocations: 10.07 MB / 0.7244 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.3439, allocations: 0 / 0.7244 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01889/0.3628, allocations: 5.665 MB / 0.73 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005057/0.3633, allocations: 239.9 kB / 0.7302 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/0.3636, allocations: 23.94 kB / 0.7302 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.365, allocations: 107.9 kB / 0.7303 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007781/0.3658, allocations: 241.1 kB / 0.7305 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.166e-05/0.3659, allocations: 28 kB / 0.7306 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00109/0.367, allocations: 0.7445 MB / 0.7313 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/0.367, allocations: 0 / 0.7313 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001319/0.3683, allocations: 479.6 kB / 0.7318 GB, free: 6.949 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.0191/0.3874, allocations: 6.257 MB / 0.7379 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008589/0.396, allocations: 2.583 MB / 0.7404 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3961, allocations: 0 / 0.7404 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00611/0.4022, allocations: 1.815 MB / 0.7422 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.4033, allocations: 110 kB / 0.7423 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04823/0.4515, allocations: 18.21 MB / 0.76 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008034/0.4524, allocations: 1.127 MB / 0.7611 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005066/0.4529, allocations: 112.3 kB / 0.7612 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007168/0.4536, allocations: 487.3 kB / 0.7617 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.4536, allocations: 3.938 kB / 0.7617 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.311/0.7647, allocations: 37.58 MB / 0.7984 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/14.62, allocations: 10.34 kB / 0.7984 GB, free: 104.4 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)