Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",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.00519/0.00519, allocations: 104.4 kB / 15.74 MB, free: 5.949 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.33/1.33, allocations: 222.9 MB / 239.4 MB, free: 4.504 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.001377/0.001377, allocations: 188.5 kB / 289.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4397/0.4397, allocations: 78.52 MB / 418.4 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 88.03 kB / 0.5531 GB, free: 1.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2967, allocations: 68.17 MB / 0.6197 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.00542/0.3021, allocations: 5.357 MB / 0.625 GB, free: 4.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.3053, allocations: 1.638 MB / 0.6266 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007333/0.306, allocations: 8 kB / 0.6266 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.3066, allocations: 182.4 kB / 0.6267 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.308, allocations: 0.6422 MB / 0.6274 GB, free: 2.293 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008422/0.3089, allocations: 0.504 MB / 0.6279 GB, free: 1.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007833/0.3097, allocations: 1.105 MB / 0.6289 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.31, allocations: 262.5 kB / 0.6292 GB, free: 424 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000404/0.3104, allocations: 478 kB / 0.6296 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006344/0.311, allocations: 0.6183 MB / 0.6302 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.3112, allocations: 84 kB / 0.6303 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.3116, allocations: 223.9 kB / 0.6305 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.3118, allocations: 235 kB / 0.6308 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000379/0.3122, allocations: 0.5087 MB / 0.6313 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.3133, allocations: 1.279 MB / 0.6325 GB, free: 13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3133, allocations: 0 / 0.6325 GB, free: 13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3133, allocations: 0 / 0.6325 GB, free: 13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.3133, allocations: 0 / 0.6325 GB, free: 13 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.006642/0.32, allocations: 2.173 MB / 0.6346 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.32, allocations: 8.031 kB / 0.6346 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.3202, allocations: 114.7 kB / 0.6347 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004022/0.3242, allocations: 0.639 MB / 0.6354 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009485/0.3252, allocations: 0.6582 MB / 0.636 GB, free: 9.301 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.3254, allocations: 176.1 kB / 0.6362 GB, free: 9.102 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.3255, allocations: 67.91 kB / 0.6362 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.3273, allocations: 0.8847 MB / 0.6371 GB, free: 8.141 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3274, allocations: 0 / 0.6371 GB, free: 8.141 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.356e-05/0.3274, allocations: 24 kB / 0.6371 GB, free: 8.117 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.3275, allocations: 19.94 kB / 0.6372 GB, free: 8.098 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.3295, allocations: 0.9264 MB / 0.6381 GB, free: 7.172 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 preOpt removeSimpleEquations (simulation): time 0.004056/0.3335, allocations: 2.459 MB / 0.6405 GB, free: 4.609 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.3355, allocations: 1.126 MB / 0.6416 GB, free: 3.402 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.3368, allocations: 0.6601 MB / 0.6422 GB, free: 2.738 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.3369, allocations: 12.98 kB / 0.6422 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3369, allocations: 39.56 kB / 0.6423 GB, free: 2.676 MB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 2.275e-06/0.3369, allocations: 4 kB / 0.6423 GB, free: 2.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=83): time 0.02182/0.3588, allocations: 5.544 MB / 0.6477 GB, free: 13.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.3588, allocations: 64.34 kB / 0.6477 GB, free: 13.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009448/0.3598, allocations: 0.7553 MB / 0.6485 GB, free: 12.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.396e-05/0.3599, allocations: 41.7 kB / 0.6485 GB, free: 12.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.3602, allocations: 400.8 kB / 0.6489 GB, free: 11.81 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.3604, allocations: 303.7 kB / 0.6492 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/0.3608, allocations: 178.9 kB / 0.6494 GB, free: 11.33 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3609, allocations: 353.9 kB / 0.6497 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.3623, allocations: 0.6155 MB / 0.6503 GB, free: 10.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.3637, allocations: 0.731 MB / 0.651 GB, free: 9.605 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01696/0.3807, allocations: 4.214 MB / 0.6551 GB, free: 5.363 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.3807, allocations: 4 kB / 0.6551 GB, free: 5.359 MB / 462.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01172/0.3924, allocations: 3.59 MB / 0.6586 GB, free: 1.758 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.3925, allocations: 8 kB / 0.6586 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3925, allocations: 0 / 0.6586 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005645/0.3982, allocations: 1.507 MB / 0.6601 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.3992, allocations: 183.8 kB / 0.6603 GB, free: 60 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/0.4184, allocations: 8.154 MB / 0.6682 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.4198, allocations: 143.1 kB / 0.6684 GB, free: 7.613 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/0.42, allocations: 35.98 kB / 0.6684 GB, free: 7.578 MB / 478.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (97): * Single equations (assignments): 96 * 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 {(19,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005091/0.4205, allocations: 230.1 kB / 0.6686 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.4207, allocations: 102.8 kB / 0.6687 GB, free: 7.242 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.4322, allocations: 3.403 MB / 0.6721 GB, free: 3.824 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.4322, allocations: 15.94 kB / 0.6721 GB, free: 3.809 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4322, allocations: 0 / 0.6721 GB, free: 3.809 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.4322, allocations: 7.984 kB / 0.6721 GB, free: 3.801 MB / 478.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.01345/0.4457, allocations: 4.769 MB / 0.6767 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.4457, allocations: 0 / 0.6767 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006066/0.4464, allocations: 99.86 kB / 0.6768 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00587/0.4522, allocations: 1.526 MB / 0.6783 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/0.4524, allocations: 16 kB / 0.6783 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01714/0.4696, allocations: 7.345 MB / 0.6855 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.4696, allocations: 4 kB / 0.6855 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/0.4834, allocations: 4.268 MB / 0.6897 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003281/0.4838, allocations: 183.7 kB / 0.6899 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/0.484, allocations: 16 kB / 0.6899 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.485, allocations: 87.84 kB / 0.69 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005856/0.4856, allocations: 168.8 kB / 0.6901 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.403e-05/0.4857, allocations: 20 kB / 0.6901 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006938/0.4864, allocations: 0.5185 MB / 0.6906 GB, free: 492 kB / 494.1 MB Notification: Performance of sort global known variables: time 2.244e-06/0.4864, allocations: 0 / 0.6906 GB, free: 492 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001249/0.4877, allocations: 387.5 kB / 0.691 GB, free: 104 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * 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 (49): * Single equations (assignments): 48 * 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 {(20,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01382/0.5015, allocations: 4.847 MB / 0.6957 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006287/0.5078, allocations: 2.121 MB / 0.6978 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5079, allocations: 0 / 0.6978 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004175/0.5121, allocations: 1.345 MB / 0.6991 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000831/0.5129, allocations: 83.17 kB / 0.6992 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03353/0.5465, allocations: 13.13 MB / 0.712 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006895/0.5472, allocations: 1.029 MB / 0.713 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004194/0.5476, allocations: 97.62 kB / 0.7131 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005379/0.5482, allocations: 359.3 kB / 0.7135 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/0.5482, allocations: 0 / 0.7135 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06111/0.6093, allocations: 30.96 MB / 0.7437 GB, free: 9.992 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.33, allocations: 3.297 kB / 0.7437 GB, free: 9.992 MB / 0.545 GB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)