Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_dev_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.001671/0.001671, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.377/1.377, allocations: 222.9 MB / 238.9 MB, free: 4.746 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.001541/0.00154, allocations: 184.5 kB / 289.1 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5228/0.5228, allocations: 91.9 MB / 431.2 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 71.89 kB / 0.5013 GB, free: 8.027 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3523, allocations: 71.25 MB / 0.5709 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.004874/0.3572, allocations: 5.652 MB / 0.5764 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.3601, allocations: 1.684 MB / 0.5781 GB, free: 32.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005299/0.3606, allocations: 8.719 kB / 0.5781 GB, free: 32.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005269/0.3612, allocations: 135.5 kB / 0.5782 GB, free: 32.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.3627, allocations: 0.5835 MB / 0.5788 GB, free: 32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009653/0.3637, allocations: 468.5 kB / 0.5792 GB, free: 31.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.3648, allocations: 1.052 MB / 0.5802 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000384/0.3652, allocations: 242.2 kB / 0.5805 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004677/0.3656, allocations: 434.2 kB / 0.5809 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006075/0.3663, allocations: 0.5968 MB / 0.5815 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.3664, allocations: 54.91 kB / 0.5815 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004571/0.3668, allocations: 187.2 kB / 0.5817 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002096/0.3671, allocations: 210.7 kB / 0.5819 GB, free: 30.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.3675, allocations: 486.3 kB / 0.5824 GB, free: 30.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.3685, allocations: 1.224 MB / 0.5836 GB, free: 29.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3686, allocations: 0 / 0.5836 GB, free: 29.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3686, allocations: 0 / 0.5836 GB, free: 29.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.3686, allocations: 0 / 0.5836 GB, free: 29.62 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.006968/0.3756, allocations: 2.177 MB / 0.5857 GB, free: 28.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.3756, allocations: 9.781 kB / 0.5857 GB, free: 28.6 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001362/0.3758, allocations: 105.6 kB / 0.5858 GB, free: 28.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004024/0.3798, allocations: 0.6461 MB / 0.5864 GB, free: 28.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009087/0.3807, allocations: 0.6635 MB / 0.5871 GB, free: 27.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.3809, allocations: 172.6 kB / 0.5872 GB, free: 27.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.381, allocations: 70.03 kB / 0.5873 GB, free: 27.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.3829, allocations: 0.8778 MB / 0.5882 GB, free: 27.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.3829, allocations: 7.875 kB / 0.5882 GB, free: 27.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.687e-05/0.383, allocations: 29 kB / 0.5882 GB, free: 27.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.383, allocations: 18.78 kB / 0.5882 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.3849, allocations: 0.9189 MB / 0.5891 GB, free: 27.1 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.003882/0.3888, allocations: 2.478 MB / 0.5915 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.3905, allocations: 1.131 MB / 0.5926 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.3917, allocations: 0.6535 MB / 0.5933 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.3918, allocations: 17.95 kB / 0.5933 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.3919, allocations: 38.75 kB / 0.5933 GB, free: 24.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.316e-06/0.3919, allocations: 4 kB / 0.5933 GB, free: 24.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02257/0.4145, allocations: 5.533 MB / 0.5987 GB, free: 23.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.4145, allocations: 65.33 kB / 0.5988 GB, free: 23.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.4158, allocations: 0.7574 MB / 0.5995 GB, free: 23.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.416, allocations: 41.33 kB / 0.5996 GB, free: 23.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.4162, allocations: 398.8 kB / 0.6 GB, free: 22.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.4165, allocations: 299.1 kB / 0.6002 GB, free: 22.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000355/0.4169, allocations: 184.4 kB / 0.6004 GB, free: 22.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.436e-05/0.417, allocations: 348.6 kB / 0.6008 GB, free: 22.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.4183, allocations: 0.6206 MB / 0.6014 GB, free: 22.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.4198, allocations: 0.7278 MB / 0.6021 GB, free: 21.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01702/0.4368, allocations: 4.216 MB / 0.6062 GB, free: 20.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.4368, allocations: 1.188 kB / 0.6062 GB, free: 20.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01209/0.4489, allocations: 3.588 MB / 0.6097 GB, free: 19.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.449, allocations: 5.719 kB / 0.6097 GB, free: 19.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.449, allocations: 3.125 kB / 0.6097 GB, free: 19.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005882/0.4549, allocations: 1.509 MB / 0.6112 GB, free: 19.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.4561, allocations: 186.2 kB / 0.6114 GB, free: 19.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01635/0.4724, allocations: 7.518 MB / 0.6187 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.4739, allocations: 151 kB / 0.6188 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.146e-05/0.474, allocations: 35.98 kB / 0.6189 GB, free: 13.23 MB / 430.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.0004183/0.4745, allocations: 235.1 kB / 0.6191 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.4746, allocations: 102.8 kB / 0.6192 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/0.485, allocations: 3.411 MB / 0.6225 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.4851, allocations: 8 kB / 0.6225 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4851, allocations: 3.938 kB / 0.6225 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.4851, allocations: 3.984 kB / 0.6225 GB, free: 9.453 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.01181/0.4969, allocations: 4.771 MB / 0.6272 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.4969, allocations: 0 / 0.6272 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.4975, allocations: 99.88 kB / 0.6273 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005092/0.5026, allocations: 1.534 MB / 0.6288 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.5027, allocations: 15.98 kB / 0.6288 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01461/0.5174, allocations: 6.702 MB / 0.6354 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.5174, allocations: 3.984 kB / 0.6354 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/0.5303, allocations: 4.275 MB / 0.6395 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.5308, allocations: 191.7 kB / 0.6397 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.5309, allocations: 12 kB / 0.6397 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008719/0.5318, allocations: 79.91 kB / 0.6398 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000565/0.5324, allocations: 168.7 kB / 0.64 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.5324, allocations: 16 kB / 0.64 GB, free: 7.285 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005934/0.533, allocations: 0.5224 MB / 0.6405 GB, free: 6.766 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5331, allocations: 0 / 0.6405 GB, free: 6.766 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001135/0.5342, allocations: 379.6 kB / 0.6409 GB, free: 6.395 MB / 446.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.01349/0.5477, allocations: 4.851 MB / 0.6456 GB, free: 1.512 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005958/0.5537, allocations: 2.094 MB / 0.6476 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.5538, allocations: 3.938 kB / 0.6476 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003893/0.5577, allocations: 1.312 MB / 0.6489 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009072/0.5586, allocations: 79.23 kB / 0.649 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03308/0.5917, allocations: 13.87 MB / 0.6625 GB, free: 15.83 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.5923, allocations: 1.021 MB / 0.6635 GB, free: 14.78 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004334/0.5927, allocations: 97.62 kB / 0.6636 GB, free: 14.68 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/0.5932, allocations: 359.3 kB / 0.664 GB, free: 14.33 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5932, allocations: 0 / 0.664 GB, free: 14.33 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04606/0.6393, allocations: 27.23 MB / 0.6906 GB, free: 3.254 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.6395, allocations: 219.6 kB / 0.6908 GB, free: 2.996 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/3.167, allocations: 7.625 kB / 0.6908 GB, free: 2.992 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)