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.001594/0.001594, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.402/1.402, allocations: 222.9 MB / 238.8 MB, free: 4.75 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.001629/0.001629, allocations: 184.5 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4864/0.4864, allocations: 78.53 MB / 417.8 MB, free: 3.336 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 75.88 kB / 496.9 MB, free: 6.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1426, allocations: 68.17 MB / 0.5518 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.2751/0.4178, allocations: 5.615 MB / 0.5573 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003786/0.4216, allocations: 1.682 MB / 0.5589 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.4227, allocations: 11.12 kB / 0.5589 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008464/0.4236, allocations: 141.4 kB / 0.5591 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.4259, allocations: 0.5716 MB / 0.5596 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.4272, allocations: 477.5 kB / 0.5601 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.429, allocations: 1.051 MB / 0.5611 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005672/0.4296, allocations: 236.6 kB / 0.5613 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009052/0.4305, allocations: 436.2 kB / 0.5617 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.4315, allocations: 0.5909 MB / 0.5623 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003875/0.4319, allocations: 51.97 kB / 0.5624 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008398/0.4327, allocations: 196.1 kB / 0.5626 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004158/0.4332, allocations: 211.8 kB / 0.5628 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008042/0.434, allocations: 491.1 kB / 0.5632 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.4354, allocations: 1.212 MB / 0.5644 GB, free: 34.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4355, allocations: 3 kB / 0.5644 GB, free: 34.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4355, allocations: 0 / 0.5644 GB, free: 34.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.4355, allocations: 0 / 0.5644 GB, free: 34.89 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.00667/0.4422, allocations: 2.182 MB / 0.5665 GB, free: 34.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.4422, allocations: 8.656 kB / 0.5666 GB, free: 34.08 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001298/0.4424, allocations: 112.3 kB / 0.5667 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003896/0.4463, allocations: 0.6406 MB / 0.5673 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008888/0.4472, allocations: 0.66 MB / 0.5679 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.4473, allocations: 178.1 kB / 0.5681 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.4475, allocations: 68.16 kB / 0.5682 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.4492, allocations: 0.8822 MB / 0.569 GB, free: 33.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4492, allocations: 3.344 kB / 0.569 GB, free: 33.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.5e-05/0.4493, allocations: 25.44 kB / 0.5691 GB, free: 33.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.4493, allocations: 17.69 kB / 0.5691 GB, free: 33.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.4511, allocations: 0.9237 MB / 0.57 GB, free: 33.44 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.003928/0.455, allocations: 2.485 MB / 0.5724 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.4568, allocations: 1.123 MB / 0.5735 GB, free: 32.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.4579, allocations: 0.6571 MB / 0.5741 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.846e-05/0.458, allocations: 11.16 kB / 0.5741 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.458, allocations: 40.97 kB / 0.5742 GB, free: 32.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.845e-06/0.4581, allocations: 0 / 0.5742 GB, free: 32.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02061/0.4787, allocations: 5.531 MB / 0.5796 GB, free: 31.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.4788, allocations: 61.47 kB / 0.5796 GB, free: 31.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.4802, allocations: 0.7597 MB / 0.5804 GB, free: 31.4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002162/0.4804, allocations: 41.3 kB / 0.5804 GB, free: 31.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.4807, allocations: 395.6 kB / 0.5808 GB, free: 31.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003947/0.4811, allocations: 298.3 kB / 0.5811 GB, free: 30.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005154/0.4816, allocations: 189.1 kB / 0.5813 GB, free: 30.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.069e-05/0.4817, allocations: 348.2 kB / 0.5816 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.4831, allocations: 0.6217 MB / 0.5822 GB, free: 30.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.4846, allocations: 0.7313 MB / 0.5829 GB, free: 29.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01733/0.502, allocations: 4.215 MB / 0.587 GB, free: 28.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/0.5021, allocations: 0 / 0.587 GB, free: 28.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01254/0.5146, allocations: 3.584 MB / 0.5905 GB, free: 27.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.5147, allocations: 10.72 kB / 0.5905 GB, free: 27.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.5147, allocations: 1.188 kB / 0.5906 GB, free: 27.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005951/0.5207, allocations: 1.503 MB / 0.592 GB, free: 27.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.5218, allocations: 190.6 kB / 0.5922 GB, free: 27.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0188/0.5407, allocations: 7.509 MB / 0.5995 GB, free: 23.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.5422, allocations: 152.4 kB / 0.5997 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/0.5425, allocations: 35.78 kB / 0.5997 GB, free: 23.89 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.0007493/0.5433, allocations: 236.6 kB / 0.5999 GB, free: 23.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003602/0.5437, allocations: 97.47 kB / 0.6 GB, free: 23.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/0.5557, allocations: 3.409 MB / 0.6034 GB, free: 22.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.5558, allocations: 8.719 kB / 0.6034 GB, free: 22.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.5558, allocations: 0 / 0.6034 GB, free: 22.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.79e-05/0.5558, allocations: 4.453 kB / 0.6034 GB, free: 22.88 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.01388/0.5697, allocations: 4.771 MB / 0.608 GB, free: 20.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.5698, allocations: 1.344 kB / 0.608 GB, free: 20.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006691/0.5705, allocations: 104.8 kB / 0.6081 GB, free: 20.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005529/0.576, allocations: 1.532 MB / 0.6096 GB, free: 19.67 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/0.5763, allocations: 12.12 kB / 0.6096 GB, free: 19.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/0.5905, allocations: 6.705 MB / 0.6162 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.5905, allocations: 8.938 kB / 0.6162 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/0.6026, allocations: 4.282 MB / 0.6204 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000399/0.6031, allocations: 179.8 kB / 0.6206 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003254/0.6034, allocations: 12 kB / 0.6206 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.6045, allocations: 91.89 kB / 0.6207 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006733/0.6052, allocations: 166.1 kB / 0.6208 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.6053, allocations: 20 kB / 0.6208 GB, free: 8.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007323/0.6061, allocations: 0.5146 MB / 0.6213 GB, free: 7.809 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6061, allocations: 4 kB / 0.6213 GB, free: 7.805 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001578/0.6077, allocations: 371.7 kB / 0.6217 GB, free: 7.441 MB / 430.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.01205/0.6197, allocations: 4.856 MB / 0.6264 GB, free: 2.555 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00559/0.6254, allocations: 2.086 MB / 0.6285 GB, free: 460 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.6254, allocations: 0 / 0.6285 GB, free: 460 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004005/0.6294, allocations: 1.314 MB / 0.6298 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.6307, allocations: 89.06 kB / 0.6298 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03723/0.6679, allocations: 13.86 MB / 0.6434 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000863/0.6688, allocations: 1.021 MB / 0.6444 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005759/0.6694, allocations: 89.62 kB / 0.6445 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006559/0.6701, allocations: 365.4 kB / 0.6448 GB, free: 15.41 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6701, allocations: 3.938 kB / 0.6448 GB, free: 15.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05262/0.7228, allocations: 27.23 MB / 0.6714 GB, free: 4.547 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/0.723, allocations: 213.8 kB / 0.6716 GB, free: 4.297 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.632/3.355, allocations: 4 kB / 0.6716 GB, free: 4.293 MB / 478.1 MB (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)