Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07777/0.07777, allocations: 12.2 MB / 27.32 MB, free: 1.445 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 116.8 kB / 30.83 MB, free: 4.715 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.1 MB / 239.3 MB, free: 12.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 204.3 kB / 289.5 MB, free: 14.13 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4141/0.4141, allocations: 78.51 MB / 418 MB, free: 12.04 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002737/0.002737, allocations: 136.5 kB / 498.3 MB, free: 11.87 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2986, allocations: 68.02 MB / 0.5531 GB, free: 32.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.007052/0.3057, allocations: 7.428 MB / 0.5603 GB, free: 27.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004918/0.3107, allocations: 2.276 MB / 0.5626 GB, free: 25.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.3118, allocations: 12.38 kB / 0.5626 GB, free: 25.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007117/0.3125, allocations: 214.5 kB / 0.5628 GB, free: 25.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0026/0.3151, allocations: 1.019 MB / 0.5638 GB, free: 24.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.3164, allocations: 0.5313 MB / 0.5643 GB, free: 24.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001975/0.3184, allocations: 1.832 MB / 0.5661 GB, free: 23.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004059/0.3188, allocations: 277.8 kB / 0.5663 GB, free: 23.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006893/0.3195, allocations: 0.6805 MB / 0.567 GB, free: 22.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.3205, allocations: 0.9041 MB / 0.5679 GB, free: 22.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002179/0.3208, allocations: 87.53 kB / 0.568 GB, free: 22.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007083/0.3215, allocations: 252.4 kB / 0.5682 GB, free: 21.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.3218, allocations: 325.3 kB / 0.5685 GB, free: 21.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000675/0.3225, allocations: 0.6974 MB / 0.5692 GB, free: 21.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.3241, allocations: 1.796 MB / 0.571 GB, free: 19.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3241, allocations: 1.188 kB / 0.571 GB, free: 19.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3241, allocations: 0 / 0.571 GB, free: 19.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.3241, allocations: 0 / 0.571 GB, free: 19.8 MB / 398.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.01244/0.3366, allocations: 3.473 MB / 0.5744 GB, free: 17.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.3366, allocations: 14.33 kB / 0.5744 GB, free: 17.83 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001618/0.3368, allocations: 134.1 kB / 0.5745 GB, free: 17.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004528/0.3414, allocations: 0.7214 MB / 0.5752 GB, free: 17.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.3429, allocations: 0.916 MB / 0.5761 GB, free: 16.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003342/0.3433, allocations: 353.8 kB / 0.5764 GB, free: 16.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.3434, allocations: 99.84 kB / 0.5765 GB, free: 16.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.3457, allocations: 1.215 MB / 0.5777 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.3457, allocations: 0 / 0.5777 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.3458, allocations: 32 kB / 0.5777 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.3458, allocations: 23.94 kB / 0.5778 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.3481, allocations: 1.167 MB / 0.5789 GB, free: 13.68 MB / 398.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.006578/0.3547, allocations: 4.126 MB / 0.5829 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006931/0.3616, allocations: 2.671 MB / 0.5855 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.363, allocations: 0.8284 MB / 0.5864 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.3631, allocations: 20.97 kB / 0.5864 GB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.3631, allocations: 55.5 kB / 0.5864 GB, free: 5.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=108): time 2.745e-06/0.3631, allocations: 0 / 0.5864 GB, free: 5.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.03995/0.4031, allocations: 10.1 MB / 0.5963 GB, free: 11.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.4032, allocations: 90.11 kB / 0.5964 GB, free: 11.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.4052, allocations: 1.117 MB / 0.5975 GB, free: 10.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002604/0.4055, allocations: 45.7 kB / 0.5975 GB, free: 10.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004559/0.406, allocations: 0.4935 MB / 0.598 GB, free: 9.711 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005778/0.4066, allocations: 398.4 kB / 0.5984 GB, free: 9.316 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007753/0.4074, allocations: 279.4 kB / 0.5986 GB, free: 9.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.4075, allocations: 309.1 kB / 0.5989 GB, free: 8.734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.4093, allocations: 0.855 MB / 0.5998 GB, free: 7.879 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/0.4113, allocations: 1.041 MB / 0.6008 GB, free: 6.789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00374/0.415, allocations: 1.886 MB / 0.6026 GB, free: 4.859 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.415, allocations: 4 kB / 0.6026 GB, free: 4.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00895/0.424, allocations: 3.367 MB / 0.6059 GB, free: 1.473 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.4241, allocations: 8 kB / 0.6059 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.4241, allocations: 4 kB / 0.6059 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009816/0.4339, allocations: 2.6 MB / 0.6085 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.4352, allocations: 243.6 kB / 0.6087 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006435/0.4416, allocations: 2.645 MB / 0.6113 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/0.4439, allocations: 202.6 kB / 0.6115 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002601/0.4442, allocations: 51.98 kB / 0.6115 GB, free: 11.7 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.0006925/0.4449, allocations: 261.5 kB / 0.6118 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005173/0.4454, allocations: 134.3 kB / 0.6119 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/0.4608, allocations: 4.574 MB / 0.6164 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/0.4608, allocations: 8 kB / 0.6164 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.4608, allocations: 4 kB / 0.6164 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.332e-05/0.4609, allocations: 7.922 kB / 0.6164 GB, free: 6.684 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.01867/0.4796, allocations: 6.338 MB / 0.6226 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/0.4796, allocations: 4 kB / 0.6226 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007176/0.4803, allocations: 111.8 kB / 0.6227 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007667/0.488, allocations: 2.134 MB / 0.6248 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003271/0.4884, allocations: 23.98 kB / 0.6248 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02423/0.5126, allocations: 9.162 MB / 0.6337 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.5127, allocations: 4 kB / 0.6337 GB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01748/0.5302, allocations: 5.655 MB / 0.6393 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006475/0.5309, allocations: 239.1 kB / 0.6395 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005308/0.5314, allocations: 20 kB / 0.6395 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/0.5331, allocations: 119.8 kB / 0.6396 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009307/0.5341, allocations: 236.9 kB / 0.6399 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/0.5343, allocations: 27.98 kB / 0.6399 GB, free: 14.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001303/0.5356, allocations: 0.7445 MB / 0.6406 GB, free: 13.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5356, allocations: 4 kB / 0.6406 GB, free: 13.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001917/0.5375, allocations: 475.5 kB / 0.6411 GB, free: 13.08 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.01803/0.5556, allocations: 6.241 MB / 0.6472 GB, free: 6.801 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008583/0.5642, allocations: 2.556 MB / 0.6497 GB, free: 4.246 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.5643, allocations: 0 / 0.6497 GB, free: 4.246 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006015/0.5703, allocations: 1.767 MB / 0.6514 GB, free: 2.465 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.5722, allocations: 112.6 kB / 0.6515 GB, free: 2.355 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05144/0.6237, allocations: 19.36 MB / 0.6704 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000887/0.6246, allocations: 1.127 MB / 0.6715 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006392/0.6253, allocations: 112.3 kB / 0.6716 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008251/0.6261, allocations: 491.3 kB / 0.6721 GB, free: 12.79 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6261, allocations: 0 / 0.6721 GB, free: 12.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07542/0.7016, allocations: 34.26 MB / 0.7055 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/0.7019, allocations: 221.7 kB / 0.7057 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/3.358, allocations: 0 / 0.7057 GB, free: 10.32 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)