Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.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.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",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.005507/0.005507, allocations: 102 kB / 15.73 MB, free: 6.035 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.348/1.348, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001434/0.001434, allocations: 192.4 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4548/0.4548, allocations: 78.53 MB / 418.4 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 75.89 kB / 0.5531 GB, free: 1.438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2924, allocations: 68.17 MB / 0.6197 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.00449/0.2969, allocations: 5.341 MB / 0.6249 GB, free: 4.797 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.2995, allocations: 1.634 MB / 0.6265 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004135/0.2999, allocations: 11.94 kB / 0.6265 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003917/0.3003, allocations: 182.4 kB / 0.6267 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.3016, allocations: 0.6704 MB / 0.6274 GB, free: 2.297 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008361/0.3025, allocations: 0.5044 MB / 0.6279 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007409/0.3032, allocations: 1.09 MB / 0.6289 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002923/0.3035, allocations: 258.5 kB / 0.6292 GB, free: 448 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003815/0.3039, allocations: 473.9 kB / 0.6296 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006386/0.3045, allocations: 0.6184 MB / 0.6302 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.3047, allocations: 88 kB / 0.6303 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004561/0.3052, allocations: 215.9 kB / 0.6305 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.3054, allocations: 243 kB / 0.6308 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003993/0.3058, allocations: 0.5087 MB / 0.6312 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.307, allocations: 1.267 MB / 0.6325 GB, free: 13.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.307, allocations: 4 kB / 0.6325 GB, free: 13.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.307, allocations: 0 / 0.6325 GB, free: 13.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.307, allocations: 0 / 0.6325 GB, free: 13.03 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.006583/0.3136, allocations: 2.166 MB / 0.6346 GB, free: 10.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3137, allocations: 8.031 kB / 0.6346 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.3138, allocations: 110.7 kB / 0.6347 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004091/0.3179, allocations: 0.6429 MB / 0.6353 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009893/0.3189, allocations: 0.662 MB / 0.636 GB, free: 9.336 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.3191, allocations: 176.1 kB / 0.6362 GB, free: 9.137 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.3193, allocations: 60 kB / 0.6362 GB, free: 9.078 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.321, allocations: 0.8848 MB / 0.6371 GB, free: 8.184 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3211, allocations: 4 kB / 0.6371 GB, free: 8.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.813e-05/0.3212, allocations: 20 kB / 0.6371 GB, free: 8.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.3212, allocations: 23.92 kB / 0.6371 GB, free: 8.137 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.3231, allocations: 0.9303 MB / 0.638 GB, free: 7.207 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.004068/0.3272, allocations: 2.467 MB / 0.6404 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.3289, allocations: 1.11 MB / 0.6415 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.3302, allocations: 0.6523 MB / 0.6422 GB, free: 2.789 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.3303, allocations: 20.98 kB / 0.6422 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.3303, allocations: 39.56 kB / 0.6422 GB, free: 2.723 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 2.715e-06/0.3303, allocations: 0 / 0.6422 GB, free: 2.723 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.02067/0.351, allocations: 5.607 MB / 0.6477 GB, free: 13.08 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.3511, allocations: 64.41 kB / 0.6478 GB, free: 13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000949/0.3521, allocations: 0.7552 MB / 0.6485 GB, free: 12.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.3522, allocations: 37.7 kB / 0.6485 GB, free: 12.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.3525, allocations: 396.8 kB / 0.6489 GB, free: 11.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/0.3527, allocations: 303.6 kB / 0.6492 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003489/0.3531, allocations: 186.8 kB / 0.6494 GB, free: 11.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3532, allocations: 349.9 kB / 0.6497 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.3545, allocations: 0.6155 MB / 0.6503 GB, free: 10.35 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.3559, allocations: 0.7349 MB / 0.651 GB, free: 9.594 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01662/0.3725, allocations: 4.186 MB / 0.6551 GB, free: 5.379 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.3725, allocations: 0 / 0.6551 GB, free: 5.379 MB / 462.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01101/0.3836, allocations: 3.536 MB / 0.6586 GB, free: 1.828 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.3836, allocations: 7.984 kB / 0.6586 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.3836, allocations: 4 kB / 0.6586 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005011/0.3887, allocations: 1.43 MB / 0.66 GB, free: 392 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.3898, allocations: 195.7 kB / 0.6602 GB, free: 196 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01758/0.4073, allocations: 8.123 MB / 0.6681 GB, free: 7.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.4085, allocations: 147.2 kB / 0.6682 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.725e-05/0.4086, allocations: 39.98 kB / 0.6683 GB, free: 7.746 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 exponentialRecovery.xp:VARIABLE(start = 0.0 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 (101): * Single equations (assignments): 100 * 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 {(18,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004009/0.4091, allocations: 226.1 kB / 0.6685 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.4092, allocations: 98.72 kB / 0.6686 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/0.42, allocations: 3.364 MB / 0.6719 GB, free: 4.035 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.42, allocations: 8 kB / 0.6719 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.42, allocations: 4 kB / 0.6719 GB, free: 4.023 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.42, allocations: 7.922 kB / 0.6719 GB, free: 4.016 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.0122/0.4322, allocations: 4.695 MB / 0.6765 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.4323, allocations: 0 / 0.6765 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000591/0.4329, allocations: 107.8 kB / 0.6766 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005159/0.438, allocations: 1.475 MB / 0.678 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.4382, allocations: 12 kB / 0.678 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01609/0.4543, allocations: 7.46 MB / 0.6853 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4543, allocations: 0 / 0.6853 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/0.4667, allocations: 4.197 MB / 0.6894 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/0.4671, allocations: 191.7 kB / 0.6896 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.4672, allocations: 16 kB / 0.6896 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008248/0.468, allocations: 83.89 kB / 0.6897 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005612/0.4686, allocations: 172.8 kB / 0.6899 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.155e-05/0.4687, allocations: 20.12 kB / 0.6899 GB, free: 1.285 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006831/0.4694, allocations: 0.5185 MB / 0.6904 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4694, allocations: 0 / 0.6904 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00119/0.4706, allocations: 363.7 kB / 0.6907 GB, free: 424 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,exponentialRecovery.xp,exponentialRecovery.xq) * 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 (52): * Single equations (assignments): 51 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01275/0.4833, allocations: 4.793 MB / 0.6954 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005223/0.4886, allocations: 2.088 MB / 0.6975 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4886, allocations: 4.062 kB / 0.6975 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003632/0.4923, allocations: 1.337 MB / 0.6988 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006977/0.493, allocations: 89.2 kB / 0.6988 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03058/0.5236, allocations: 12.95 MB / 0.7115 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.5242, allocations: 1.025 MB / 0.7125 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003566/0.5246, allocations: 93.69 kB / 0.7126 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/0.525, allocations: 367.2 kB / 0.7129 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of SimCode: time 9.42e-07/0.525, allocations: 0 / 0.7129 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05489/0.5799, allocations: 29 MB / 0.7412 GB, free: 12.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/15.32, allocations: 8 kB / 0.7413 GB, free: 12.55 MB / 0.545 GB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)