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.0008371/0.0008371, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.365/1.365, allocations: 223.2 MB / 239 MB, free: 5.613 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.001229/0.00123, allocations: 180.6 kB / 290.3 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4639/0.4639, allocations: 79.48 MB / 420.8 MB, free: 3.957 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004066, allocations: 12 kB / 0.4892 GB, free: 5.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4214, allocations: 69.51 MB / 0.5571 GB, free: 37.33 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.00596/0.4274, allocations: 6.476 MB / 0.5634 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00437/0.4318, allocations: 2.17 MB / 0.5655 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007748/0.4326, allocations: 17.66 kB / 0.5655 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.4332, allocations: 186.9 kB / 0.5657 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.4353, allocations: 0.8544 MB / 0.5666 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.4366, allocations: 0.4934 MB / 0.567 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001763/0.4383, allocations: 1.58 MB / 0.5686 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004909/0.4388, allocations: 261 kB / 0.5688 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009218/0.4398, allocations: 0.6247 MB / 0.5694 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.4409, allocations: 0.8461 MB / 0.5703 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.441, allocations: 76.25 kB / 0.5703 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000686/0.4417, allocations: 238.2 kB / 0.5706 GB, free: 34.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003475/0.4421, allocations: 296.5 kB / 0.5709 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.4423, allocations: 244.7 kB / 0.5711 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.4437, allocations: 1.366 MB / 0.5724 GB, free: 34.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.4437, allocations: 0.7812 kB / 0.5724 GB, free: 34.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4437, allocations: 0 / 0.5724 GB, free: 34.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.4437, allocations: 2.781 kB / 0.5724 GB, free: 34.29 MB / 430.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.009482/0.4532, allocations: 3.091 MB / 0.5754 GB, free: 33.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4533, allocations: 9 kB / 0.5755 GB, free: 33.19 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000266/0.4535, allocations: 135.9 kB / 0.5756 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004063/0.4576, allocations: 0.728 MB / 0.5763 GB, free: 32.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.459, allocations: 0.8785 MB / 0.5772 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003098/0.4594, allocations: 362 kB / 0.5775 GB, free: 32.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.4595, allocations: 98.94 kB / 0.5776 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.4617, allocations: 1.295 MB / 0.5789 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.4617, allocations: 0 / 0.5789 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/0.4618, allocations: 40.61 kB / 0.5789 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.4619, allocations: 21.41 kB / 0.5789 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/0.464, allocations: 1.244 MB / 0.5801 GB, free: 31.12 MB / 430.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.006293/0.4704, allocations: 4.199 MB / 0.5842 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007935/0.4783, allocations: 3.234 MB / 0.5874 GB, free: 27.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001778/0.4801, allocations: 0.911 MB / 0.5883 GB, free: 27.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.4802, allocations: 19.86 kB / 0.5883 GB, free: 27.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.4803, allocations: 44.47 kB / 0.5883 GB, free: 27.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.206e-06/0.4803, allocations: 0 / 0.5883 GB, free: 27.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.04262/0.5229, allocations: 12.26 MB / 0.6003 GB, free: 25.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.523, allocations: 88.89 kB / 0.6004 GB, free: 25.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.5256, allocations: 1.104 MB / 0.6015 GB, free: 24.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003005/0.5259, allocations: 54.23 kB / 0.6015 GB, free: 24.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004928/0.5264, allocations: 0.4979 MB / 0.602 GB, free: 24.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006065/0.527, allocations: 399.1 kB / 0.6024 GB, free: 24.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.5273, allocations: 34.72 kB / 0.6024 GB, free: 24.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5274, allocations: 364.7 kB / 0.6028 GB, free: 23.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/0.5298, allocations: 0.9341 MB / 0.6037 GB, free: 23.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/0.5322, allocations: 1.112 MB / 0.6048 GB, free: 22.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/0.5345, allocations: 1.01 MB / 0.6058 GB, free: 22.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.5345, allocations: 1.344 kB / 0.6058 GB, free: 22.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01697/0.5515, allocations: 6.097 MB / 0.6117 GB, free: 20.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.5516, allocations: 8 kB / 0.6117 GB, free: 20.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.5516, allocations: 4.312 kB / 0.6117 GB, free: 20.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008476/0.5601, allocations: 2.988 MB / 0.6146 GB, free: 17.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.5613, allocations: 236.7 kB / 0.6149 GB, free: 17.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005765/0.5671, allocations: 2.962 MB / 0.6178 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.5693, allocations: 238.7 kB / 0.618 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002726/0.5696, allocations: 59.97 kB / 0.618 GB, free: 14.05 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {29 25} Notification: Performance of prepare postOptimizeDAE: time 0.0007161/0.5703, allocations: 261.5 kB / 0.6183 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004743/0.5708, allocations: 134.3 kB / 0.6184 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/0.5845, allocations: 5.606 MB / 0.6239 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.5845, allocations: 16 kB / 0.6239 GB, free: 8.016 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.5845, allocations: 3.953 kB / 0.6239 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-05/0.5846, allocations: 8.953 kB / 0.6239 GB, free: 8.004 MB / 430.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 postOpt removeSimpleEquations (simulation): time 0.01637/0.601, allocations: 7.386 MB / 0.6311 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.601, allocations: 0 / 0.6311 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006328/0.6017, allocations: 107.8 kB / 0.6312 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007251/0.6089, allocations: 2.51 MB / 0.6337 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00021/0.6092, allocations: 24.83 kB / 0.6337 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02427/0.6335, allocations: 10.3 MB / 0.6438 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.6335, allocations: 0 / 0.6438 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/0.6514, allocations: 6.777 MB / 0.6504 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006619/0.6521, allocations: 237.2 kB / 0.6506 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005257/0.6527, allocations: 23.98 kB / 0.6506 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/0.6543, allocations: 151.8 kB / 0.6508 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008633/0.6552, allocations: 237 kB / 0.651 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/0.6554, allocations: 27.98 kB / 0.651 GB, free: 11.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001297/0.6567, allocations: 0.7367 MB / 0.6518 GB, free: 11.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6567, allocations: 0 / 0.6518 GB, free: 11.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002034/0.6588, allocations: 475.5 kB / 0.6522 GB, free: 10.71 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0177/0.6765, allocations: 7.357 MB / 0.6594 GB, free: 3.324 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008502/0.685, allocations: 2.907 MB / 0.6622 GB, free: 428 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6851, allocations: 0 / 0.6622 GB, free: 428 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005964/0.6911, allocations: 2.051 MB / 0.6642 GB, free: 14.35 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.6929, allocations: 112.6 kB / 0.6643 GB, free: 14.24 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02411/0.7171, allocations: 11.64 MB / 0.6757 GB, free: 2.309 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008151/0.7179, allocations: 1.123 MB / 0.6768 GB, free: 1.152 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006281/0.7186, allocations: 115.5 kB / 0.6769 GB, free: 1.043 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007791/0.7194, allocations: 491.2 kB / 0.6774 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7194, allocations: 2.062 kB / 0.6774 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06049/0.7799, allocations: 33.77 MB / 0.7104 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.7801, allocations: 199.1 kB / 0.7106 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/3.493, allocations: 0 / 0.7106 GB, free: 14.87 MB / 0.5137 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/linux/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) Environment - environmentSimulation: