Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.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.GENSAL,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL",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.08722/0.08722, allocations: 12.2 MB / 27.47 MB, free: 0.9219 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.00093/0.0009303, allocations: 99.52 kB / 31 MB, free: 4.531 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.338/1.338, allocations: 205.4 MB / 239.8 MB, free: 13.53 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.001244/0.001244, allocations: 184.5 kB / 291 MB, free: 11.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4233/0.4233, allocations: 78.53 MB / 420.5 MB, free: 11.52 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.000902/0.0009019, allocations: 32.84 kB / 0.4902 GB, free: 9.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3034, allocations: 69.22 MB / 0.5578 GB, free: 20.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.004667/0.3081, allocations: 6.936 MB / 0.5646 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003633/0.3118, allocations: 2.205 MB / 0.5667 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005223/0.3123, allocations: 12 kB / 0.5667 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.3128, allocations: 214.7 kB / 0.5669 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.3149, allocations: 1.026 MB / 0.568 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009697/0.3159, allocations: 0.5302 MB / 0.5685 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.3173, allocations: 1.792 MB / 0.5702 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.3177, allocations: 280.8 kB / 0.5705 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004979/0.3182, allocations: 0.6454 MB / 0.5711 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006689/0.3188, allocations: 0.8751 MB / 0.572 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.319, allocations: 79.94 kB / 0.572 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004843/0.3195, allocations: 279.8 kB / 0.5723 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.3197, allocations: 302.5 kB / 0.5726 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004241/0.3201, allocations: 0.7006 MB / 0.5733 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.3212, allocations: 1.767 MB / 0.575 GB, free: 3.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3212, allocations: 0 / 0.575 GB, free: 3.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3212, allocations: 4 kB / 0.575 GB, free: 3.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.3212, allocations: 0 / 0.575 GB, free: 3.16 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.0118/0.333, allocations: 3.404 MB / 0.5783 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.3331, allocations: 11.98 kB / 0.5784 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003464/0.3335, allocations: 138.9 kB / 0.5785 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004363/0.3378, allocations: 0.724 MB / 0.5792 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.3393, allocations: 0.8989 MB / 0.5801 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003878/0.3397, allocations: 377.5 kB / 0.5804 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.3399, allocations: 91.88 kB / 0.5805 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.3423, allocations: 1.289 MB / 0.5818 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.3424, allocations: 0 / 0.5818 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.3425, allocations: 32 kB / 0.5818 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.3425, allocations: 20 kB / 0.5818 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/0.3451, allocations: 1.245 MB / 0.583 GB, free: 10.75 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.007001/0.3521, allocations: 4.15 MB / 0.5871 GB, free: 6.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008538/0.3607, allocations: 3.21 MB / 0.5902 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001848/0.3625, allocations: 0.9026 MB / 0.5911 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.3627, allocations: 24.97 kB / 0.5911 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.3627, allocations: 43.56 kB / 0.5912 GB, free: 2.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 3.396e-06/0.3627, allocations: 3.938 kB / 0.5912 GB, free: 2.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=107): time 0.04441/0.4071, allocations: 11.94 MB / 0.6028 GB, free: 6.105 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.4073, allocations: 90.11 kB / 0.6029 GB, free: 5.996 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.4089, allocations: 1.089 MB / 0.604 GB, free: 4.895 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002682/0.4092, allocations: 45.7 kB / 0.604 GB, free: 4.844 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.4095, allocations: 0.4935 MB / 0.6045 GB, free: 4.344 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004231/0.41, allocations: 394.3 kB / 0.6049 GB, free: 3.953 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.4102, allocations: 141.6 kB / 0.605 GB, free: 3.809 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.4103, allocations: 301.1 kB / 0.6053 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/0.4125, allocations: 0.9253 MB / 0.6062 GB, free: 2.586 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/0.415, allocations: 1.108 MB / 0.6073 GB, free: 1.434 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004772/0.4198, allocations: 2.031 MB / 0.6093 GB, free: 15.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.4198, allocations: 0 / 0.6093 GB, free: 15.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01388/0.4337, allocations: 5.033 MB / 0.6142 GB, free: 10.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.4337, allocations: 4 kB / 0.6142 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.4338, allocations: 4 kB / 0.6142 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009101/0.4429, allocations: 2.74 MB / 0.6169 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.444, allocations: 235.6 kB / 0.6171 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006255/0.4503, allocations: 2.915 MB / 0.62 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/0.4521, allocations: 242.6 kB / 0.6202 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.4522, allocations: 59.97 kB / 0.6202 GB, free: 4.086 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 (142): * Single equations (assignments): 141 * 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 {(28,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0004958/0.4527, allocations: 258.5 kB / 0.6205 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.453, allocations: 138.2 kB / 0.6206 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01715/0.4701, allocations: 5.672 MB / 0.6262 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.4702, allocations: 8 kB / 0.6262 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.4702, allocations: 4 kB / 0.6262 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.4702, allocations: 3.984 kB / 0.6262 GB, free: 13.98 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.01872/0.4889, allocations: 7.369 MB / 0.6334 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.489, allocations: 3.938 kB / 0.6334 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/0.4895, allocations: 103.8 kB / 0.6335 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007876/0.4974, allocations: 2.517 MB / 0.6359 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.532e-05/0.4975, allocations: 20 kB / 0.6359 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02486/0.5224, allocations: 10.32 MB / 0.646 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5224, allocations: 4 kB / 0.646 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01902/0.5415, allocations: 6.799 MB / 0.6527 GB, free: 2.531 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004254/0.5419, allocations: 235.1 kB / 0.6529 GB, free: 2.281 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.5421, allocations: 20 kB / 0.6529 GB, free: 2.262 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.5434, allocations: 147.9 kB / 0.6531 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006498/0.544, allocations: 229 kB / 0.6533 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.3e-05/0.5441, allocations: 31.98 kB / 0.6533 GB, free: 1.863 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00087/0.545, allocations: 0.7248 MB / 0.654 GB, free: 1.133 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.545, allocations: 0 / 0.654 GB, free: 1.133 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001152/0.5462, allocations: 479.5 kB / 0.6545 GB, free: 0.6641 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,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.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 (64): * Single equations (assignments): 63 * 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.01906/0.5652, allocations: 7.382 MB / 0.6617 GB, free: 9.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008302/0.5736, allocations: 2.877 MB / 0.6645 GB, free: 6.383 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5736, allocations: 4.062 kB / 0.6645 GB, free: 6.379 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006101/0.5797, allocations: 2.051 MB / 0.6665 GB, free: 4.32 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.5809, allocations: 112.5 kB / 0.6666 GB, free: 4.207 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04172/0.6227, allocations: 19.18 MB / 0.6853 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2223/0.845, allocations: 1.117 MB / 0.6864 GB, free: 121 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005404/0.8456, allocations: 104.4 kB / 0.6865 GB, free: 121 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006933/0.8463, allocations: 483.6 kB / 0.687 GB, free: 121 MB / 494.1 MB Notification: Performance of SimCode: time 7.51e-07/0.8463, allocations: 3.562 kB / 0.687 GB, free: 121 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04927/0.8956, allocations: 33.39 MB / 0.7196 GB, free: 98.13 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/0.8958, allocations: 217.7 kB / 0.7198 GB, free: 97.87 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.705/3.601, allocations: 4.062 kB / 0.7198 GB, free: 97.86 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)