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.001135/0.001135, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.402/1.402, allocations: 222.9 MB / 238.9 MB, free: 4.742 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.001655/0.001655, allocations: 192.5 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5459/0.5459, allocations: 91.9 MB / 431.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 75.88 kB / 0.5013 GB, free: 8.066 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4096, allocations: 71.27 MB / 0.5709 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.006254/0.4159, allocations: 7.38 MB / 0.5781 GB, free: 32.13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004332/0.4203, allocations: 2.306 MB / 0.5804 GB, free: 30.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.4213, allocations: 16.88 kB / 0.5804 GB, free: 30.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006801/0.422, allocations: 223.3 kB / 0.5806 GB, free: 30.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.4244, allocations: 0.9353 MB / 0.5815 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.4255, allocations: 0.5373 MB / 0.582 GB, free: 29.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001703/0.4272, allocations: 1.682 MB / 0.5837 GB, free: 28.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.4276, allocations: 288.5 kB / 0.584 GB, free: 28.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007255/0.4284, allocations: 0.6647 MB / 0.5846 GB, free: 28.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008216/0.4292, allocations: 0.8925 MB / 0.5855 GB, free: 27.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.4294, allocations: 90.59 kB / 0.5856 GB, free: 27.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006151/0.43, allocations: 254 kB / 0.5858 GB, free: 27.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.4302, allocations: 315 kB / 0.5861 GB, free: 27.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005521/0.4308, allocations: 0.6911 MB / 0.5868 GB, free: 27.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.4323, allocations: 1.79 MB / 0.5885 GB, free: 26.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4323, allocations: 0 / 0.5885 GB, free: 26.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4323, allocations: 0 / 0.5885 GB, free: 26.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.454e-05/0.4324, allocations: 1.156 kB / 0.5885 GB, free: 26.49 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.01192/0.4443, allocations: 3.261 MB / 0.5917 GB, free: 25.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.4444, allocations: 8.188 kB / 0.5917 GB, free: 25.17 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/0.4446, allocations: 133.8 kB / 0.5918 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004423/0.449, allocations: 0.7195 MB / 0.5926 GB, free: 24.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.4505, allocations: 0.9177 MB / 0.5934 GB, free: 24.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003335/0.4509, allocations: 350.1 kB / 0.5938 GB, free: 23.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.4511, allocations: 105.1 kB / 0.5939 GB, free: 23.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.4536, allocations: 1.216 MB / 0.5951 GB, free: 23.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.4536, allocations: 0 / 0.5951 GB, free: 23.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.4537, allocations: 30.59 kB / 0.5951 GB, free: 23.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.4538, allocations: 23.34 kB / 0.5951 GB, free: 23.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/0.4564, allocations: 1.169 MB / 0.5963 GB, free: 23.07 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.00825/0.4647, allocations: 4.134 MB / 0.6003 GB, free: 20.67 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00803/0.4727, allocations: 2.661 MB / 0.6029 GB, free: 19.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/0.4746, allocations: 0.8259 MB / 0.6037 GB, free: 19.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.4748, allocations: 22.98 kB / 0.6037 GB, free: 19.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.4748, allocations: 48.38 kB / 0.6038 GB, free: 19.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.647e-06/0.4748, allocations: 1.375 kB / 0.6038 GB, free: 19.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.04568/0.5205, allocations: 10.1 MB / 0.6136 GB, free: 16.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.5206, allocations: 93.61 kB / 0.6137 GB, free: 16.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.5226, allocations: 1.114 MB / 0.6148 GB, free: 15.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003545/0.523, allocations: 45.98 kB / 0.6149 GB, free: 15.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.5233, allocations: 0.4939 MB / 0.6153 GB, free: 15.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004096/0.5237, allocations: 395.9 kB / 0.6157 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005369/0.5243, allocations: 281.5 kB / 0.616 GB, free: 14.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.687e-05/0.5243, allocations: 313.1 kB / 0.6163 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.5262, allocations: 0.8646 MB / 0.6171 GB, free: 14.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/0.5282, allocations: 1.04 MB / 0.6181 GB, free: 13.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00336/0.5316, allocations: 1.879 MB / 0.62 GB, free: 12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.5316, allocations: 0 / 0.62 GB, free: 12 MB / 430.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007814/0.5394, allocations: 3.371 MB / 0.6233 GB, free: 8.609 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.5395, allocations: 12 kB / 0.6233 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.5395, allocations: 0 / 0.6233 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008456/0.548, allocations: 2.6 MB / 0.6258 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.5492, allocations: 243.6 kB / 0.6261 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005462/0.5547, allocations: 2.649 MB / 0.6286 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.5569, allocations: 202.6 kB / 0.6288 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.557, allocations: 55.98 kB / 0.6289 GB, free: 2.828 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 (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.0005232/0.5576, allocations: 257.5 kB / 0.6291 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.5578, allocations: 134.3 kB / 0.6293 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/0.5721, allocations: 4.57 MB / 0.6337 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-05/0.5722, allocations: 12 kB / 0.6337 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.5722, allocations: 4 kB / 0.6337 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.415e-05/0.5723, allocations: 11.92 kB / 0.6337 GB, free: 13.81 MB / 446.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.01839/0.5907, allocations: 6.342 MB / 0.6399 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.5907, allocations: 0 / 0.6399 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007262/0.5915, allocations: 111.8 kB / 0.64 GB, free: 7.215 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007351/0.5988, allocations: 2.13 MB / 0.6421 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/0.5991, allocations: 31.98 kB / 0.6422 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02435/0.6234, allocations: 9.165 MB / 0.6511 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.6235, allocations: 3.984 kB / 0.6511 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01738/0.6409, allocations: 5.647 MB / 0.6566 GB, free: 6.074 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007166/0.6416, allocations: 239.1 kB / 0.6569 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.6419, allocations: 28 kB / 0.6569 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.6432, allocations: 107.8 kB / 0.657 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008167/0.644, allocations: 241 kB / 0.6572 GB, free: 5.449 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.159e-05/0.6441, allocations: 31.98 kB / 0.6572 GB, free: 5.418 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001016/0.6451, allocations: 0.7445 MB / 0.658 GB, free: 4.668 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6452, allocations: 0 / 0.658 GB, free: 4.668 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001415/0.6466, allocations: 475.5 kB / 0.6584 GB, free: 4.203 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 (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.01735/0.6639, allocations: 6.238 MB / 0.6645 GB, free: 13.92 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007988/0.672, allocations: 2.557 MB / 0.667 GB, free: 11.37 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.672, allocations: 0 / 0.667 GB, free: 11.37 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005571/0.6776, allocations: 1.774 MB / 0.6687 GB, free: 9.582 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.6792, allocations: 116.6 kB / 0.6689 GB, free: 9.469 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0472/0.7264, allocations: 19.35 MB / 0.6878 GB, free: 5.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007711/0.7272, allocations: 1.123 MB / 0.6889 GB, free: 4.512 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006162/0.7278, allocations: 120.2 kB / 0.689 GB, free: 4.391 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006484/0.7285, allocations: 487.3 kB / 0.6894 GB, free: 3.914 MB / 494.1 MB Notification: Performance of SimCode: time 9.91e-07/0.7285, allocations: 0 / 0.6894 GB, free: 3.914 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05803/0.7865, allocations: 34.26 MB / 0.7229 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.7868, allocations: 210.1 kB / 0.7231 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.932/3.719, allocations: 0 / 0.7231 GB, free: 1.535 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/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)