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.001405/0.001404, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 222.9 MB / 239.3 MB, free: 4.621 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.001688/0.001688, allocations: 199.7 kB / 289.6 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5959/0.5959, allocations: 91.9 MB / 431.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 83.86 kB / 0.502 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.4833, allocations: 71.26 MB / 0.5716 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.007212/0.4906, allocations: 7.043 MB / 0.5785 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004936/0.4955, allocations: 2.248 MB / 0.5806 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.4966, allocations: 8.219 kB / 0.5807 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007401/0.4974, allocations: 275.3 kB / 0.5809 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002513/0.5, allocations: 1.045 MB / 0.5819 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.5013, allocations: 0.5702 MB / 0.5825 GB, free: 30.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001742/0.503, allocations: 1.754 MB / 0.5842 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004634/0.5035, allocations: 339.7 kB / 0.5845 GB, free: 29.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007195/0.5042, allocations: 0.7166 MB / 0.5852 GB, free: 28.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008688/0.5051, allocations: 0.9459 MB / 0.5862 GB, free: 28.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.5053, allocations: 142.2 kB / 0.5863 GB, free: 28.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006659/0.506, allocations: 312.2 kB / 0.5866 GB, free: 28.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.5063, allocations: 373.9 kB / 0.5869 GB, free: 27.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000662/0.5069, allocations: 0.7477 MB / 0.5877 GB, free: 27.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002086/0.509, allocations: 1.832 MB / 0.5895 GB, free: 26.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.509, allocations: 0 / 0.5895 GB, free: 26.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.509, allocations: 0 / 0.5895 GB, free: 26.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.981e-05/0.5091, allocations: 0 / 0.5895 GB, free: 26.61 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.01205/0.5211, allocations: 3.263 MB / 0.5926 GB, free: 25.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.595e-05/0.5212, allocations: 8.375 kB / 0.5927 GB, free: 25.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002088/0.5214, allocations: 131.5 kB / 0.5928 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004791/0.5262, allocations: 0.7176 MB / 0.5935 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.5279, allocations: 0.9216 MB / 0.5944 GB, free: 24.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003949/0.5283, allocations: 357.3 kB / 0.5947 GB, free: 24.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.5286, allocations: 93.41 kB / 0.5948 GB, free: 24.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/0.5314, allocations: 1.222 MB / 0.596 GB, free: 23.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.5314, allocations: 1.094 kB / 0.596 GB, free: 23.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.5315, allocations: 30.5 kB / 0.596 GB, free: 23.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/0.5316, allocations: 22.69 kB / 0.5961 GB, free: 23.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002927/0.5345, allocations: 1.162 MB / 0.5972 GB, free: 23.19 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.008363/0.5429, allocations: 4.138 MB / 0.6012 GB, free: 20.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009492/0.5524, allocations: 2.669 MB / 0.6038 GB, free: 19.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002363/0.5548, allocations: 0.8276 MB / 0.6046 GB, free: 19.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.5549, allocations: 22.09 kB / 0.6047 GB, free: 19.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.555, allocations: 45.06 kB / 0.6047 GB, free: 19.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 6.663e-06/0.555, allocations: 0 / 0.6047 GB, free: 19.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.04652/0.6015, allocations: 10.1 MB / 0.6146 GB, free: 16.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/0.6017, allocations: 96.94 kB / 0.6147 GB, free: 16.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.604, allocations: 1.111 MB / 0.6157 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003553/0.6043, allocations: 50.2 kB / 0.6158 GB, free: 15.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004118/0.6048, allocations: 0.4975 MB / 0.6163 GB, free: 15.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000496/0.6053, allocations: 391.8 kB / 0.6167 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005876/0.6059, allocations: 285.2 kB / 0.6169 GB, free: 14.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.986e-05/0.606, allocations: 306.5 kB / 0.6172 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/0.608, allocations: 0.855 MB / 0.6181 GB, free: 13.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/0.6103, allocations: 1.041 MB / 0.6191 GB, free: 13.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/0.6139, allocations: 1.878 MB / 0.6209 GB, free: 11.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.6139, allocations: 3.938 kB / 0.6209 GB, free: 11.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008178/0.6221, allocations: 3.374 MB / 0.6242 GB, free: 8.133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.6222, allocations: 8 kB / 0.6242 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.6222, allocations: 7.984 kB / 0.6242 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008852/0.631, allocations: 2.6 MB / 0.6268 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.6323, allocations: 247.6 kB / 0.627 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005788/0.6381, allocations: 2.649 MB / 0.6296 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/0.6403, allocations: 202.6 kB / 0.6298 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.6405, allocations: 55.98 kB / 0.6298 GB, free: 2.34 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.0005425/0.641, allocations: 258.6 kB / 0.6301 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.6413, allocations: 134.3 kB / 0.6302 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0152/0.6565, allocations: 4.566 MB / 0.6347 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/0.6565, allocations: 12 kB / 0.6347 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.6566, allocations: 0 / 0.6347 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.806e-05/0.6566, allocations: 15.91 kB / 0.6347 GB, free: 13.33 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.01968/0.6763, allocations: 6.342 MB / 0.6409 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/0.6764, allocations: 3.938 kB / 0.6409 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006944/0.6771, allocations: 107.9 kB / 0.641 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007856/0.6849, allocations: 2.142 MB / 0.6431 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.6851, allocations: 23.98 kB / 0.6431 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02791/0.713, allocations: 10.06 MB / 0.6529 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.713, allocations: 3.938 kB / 0.6529 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01851/0.7316, allocations: 5.651 MB / 0.6584 GB, free: 4.688 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008113/0.7324, allocations: 235.1 kB / 0.6587 GB, free: 4.438 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005116/0.7329, allocations: 31.92 kB / 0.6587 GB, free: 4.406 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/0.7347, allocations: 103.9 kB / 0.6588 GB, free: 4.305 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007973/0.7355, allocations: 241.1 kB / 0.659 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.7356, allocations: 28 kB / 0.6591 GB, free: 4.039 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00144/0.737, allocations: 0.7484 MB / 0.6598 GB, free: 3.285 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7371, allocations: 3.938 kB / 0.6598 GB, free: 3.281 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001858/0.7389, allocations: 475.5 kB / 0.6602 GB, free: 2.816 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.01837/0.7573, allocations: 6.241 MB / 0.6663 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009328/0.7667, allocations: 2.615 MB / 0.6689 GB, free: 9.926 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.7667, allocations: 0 / 0.6689 GB, free: 9.926 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006326/0.773, allocations: 1.819 MB / 0.6707 GB, free: 8.094 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.7748, allocations: 112.7 kB / 0.6708 GB, free: 7.984 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05216/0.827, allocations: 18.93 MB / 0.6893 GB, free: 4.598 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009908/0.8281, allocations: 1.123 MB / 0.6904 GB, free: 3.438 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007355/0.8288, allocations: 116.3 kB / 0.6905 GB, free: 3.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008868/0.8297, allocations: 491.3 kB / 0.6909 GB, free: 2.84 MB / 494.1 MB Notification: Performance of SimCode: time 2.184e-06/0.8297, allocations: 3.938 kB / 0.6909 GB, free: 2.836 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.84/3.67, allocations: 37.15 MB / 0.7272 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/18.34, allocations: 11.05 kB / 0.7272 GB, free: 13.79 MB / 0.5294 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)