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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8561/0.8561, allocations: 177.1 MB / 199.4 MB, free: 5.914 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 159.3 kB / 256 MB, free: 13.32 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2574/0.2574, allocations: 80.36 MB / 392.7 MB, free: 2.375 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.555 GB, free: 12.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.779e-05, allocations: 2.281 kB / 0.555 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.003785/0.003803, allocations: 4.815 MB / 0.5597 GB, free: 7.738 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.005959, allocations: 1.661 MB / 0.5613 GB, free: 6.074 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000292/0.006251, allocations: 11.94 kB / 0.5613 GB, free: 6.062 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.006584, allocations: 182.4 kB / 0.5615 GB, free: 5.883 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009887/0.007573, allocations: 0.6857 MB / 0.5621 GB, free: 5.195 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.008208, allocations: 0.5092 MB / 0.5626 GB, free: 4.691 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007818/0.00899, allocations: 1.148 MB / 0.5638 GB, free: 3.539 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.009237, allocations: 178.9 kB / 0.5639 GB, free: 3.348 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000558/0.009795, allocations: 0.6546 MB / 0.5646 GB, free: 2.691 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004265/0.01022, allocations: 0.5063 MB / 0.5651 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.117e-05/0.01031, allocations: 84 kB / 0.5651 GB, free: 2.102 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.01059, allocations: 227.7 kB / 0.5654 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.01073, allocations: 246.9 kB / 0.5656 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.01093, allocations: 342.8 kB / 0.5659 GB, free: 1.301 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009549/0.01188, allocations: 1.328 MB / 0.5672 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.01188, allocations: 4 kB / 0.5672 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.282e-06/0.01188, allocations: 0 / 0.5672 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.783e-05/0.0119, allocations: 4 kB / 0.5672 GB, free: 15.96 MB / 0.4948 GB 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.003711/0.01561, allocations: 2.148 MB / 0.5693 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.01565, allocations: 12.03 kB / 0.5693 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.941e-05/0.01575, allocations: 106.7 kB / 0.5694 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.01782, allocations: 0.6864 MB / 0.5701 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006676/0.01849, allocations: 0.605 MB / 0.5707 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.01861, allocations: 188 kB / 0.5709 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.386e-05/0.0187, allocations: 64 kB / 0.5709 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.0198, allocations: 0.877 MB / 0.5718 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.01981, allocations: 0 / 0.5718 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.01986, allocations: 24 kB / 0.5718 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.01987, allocations: 16 kB / 0.5718 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.02107, allocations: 0.9186 MB / 0.5727 GB, free: 10.22 MB / 0.4948 GB 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.002331/0.0234, allocations: 1.928 MB / 0.5746 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.02446, allocations: 0.759 MB / 0.5754 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007427/0.02521, allocations: 0.5907 MB / 0.5759 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.288e-05/0.02527, allocations: 9 kB / 0.5759 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.02529, allocations: 43.56 kB / 0.576 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=83): time 1.773e-06/0.02529, allocations: 0 / 0.576 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83): time 0.01076/0.03605, allocations: 5.425 MB / 0.5813 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.03608, allocations: 60.41 kB / 0.5813 GB, free: 1.305 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005905/0.03667, allocations: 0.771 MB / 0.5821 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.856e-05/0.03673, allocations: 41.7 kB / 0.5821 GB, free: 488 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.03694, allocations: 409.2 kB / 0.5825 GB, free: 72 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.03714, allocations: 309.5 kB / 0.5828 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.03737, allocations: 186.9 kB / 0.583 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.03746, allocations: 345.7 kB / 0.5833 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008194/0.03828, allocations: 0.6194 MB / 0.5839 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008731/0.03915, allocations: 0.7271 MB / 0.5846 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009149/0.0483, allocations: 4.331 MB / 0.5889 GB, free: 9.504 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.0483, allocations: 7.938 kB / 0.5889 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.005998/0.0543, allocations: 3.564 MB / 0.5924 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.05432, allocations: 8 kB / 0.5924 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.05433, allocations: 0 / 0.5924 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002786/0.05712, allocations: 1.519 MB / 0.5939 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.05757, allocations: 183.8 kB / 0.594 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1809/0.2385, allocations: 7.857 MB / 0.6017 GB, free: 90.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007182/0.2392, allocations: 143.3 kB / 0.6018 GB, free: 90.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.2392, allocations: 37.16 kB / 0.6019 GB, free: 90.25 MB / 0.5105 GB 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.0002971/0.2395, allocations: 235.2 kB / 0.6021 GB, free: 90.08 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.2396, allocations: 104.6 kB / 0.6022 GB, free: 90.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005353/0.245, allocations: 3.376 MB / 0.6055 GB, free: 89.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.245, allocations: 9.594 kB / 0.6055 GB, free: 89.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.245, allocations: 4.438 kB / 0.6055 GB, free: 89.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.245, allocations: 3.375 kB / 0.6055 GB, free: 89.4 MB / 0.5105 GB 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.006608/0.2516, allocations: 4.283 MB / 0.6097 GB, free: 88.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2516, allocations: 1.312 kB / 0.6097 GB, free: 88.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.2519, allocations: 94.75 kB / 0.6098 GB, free: 88.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002944/0.2549, allocations: 1.531 MB / 0.6113 GB, free: 87.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.145e-05/0.2549, allocations: 20.81 kB / 0.6113 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008932/0.2638, allocations: 7.064 MB / 0.6182 GB, free: 84.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2638, allocations: 0 / 0.6182 GB, free: 84.44 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006991/0.2708, allocations: 4.256 MB / 0.6224 GB, free: 83.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.271, allocations: 114.2 kB / 0.6225 GB, free: 83.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.804e-05/0.2711, allocations: 16.03 kB / 0.6225 GB, free: 83.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.2715, allocations: 79.94 kB / 0.6226 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/0.2719, allocations: 177 kB / 0.6227 GB, free: 83.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.96e-05/0.2719, allocations: 31.7 kB / 0.6228 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004337/0.2724, allocations: 0.5176 MB / 0.6233 GB, free: 82.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.2724, allocations: 0 / 0.6233 GB, free: 82.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007878/0.2732, allocations: 383.8 kB / 0.6236 GB, free: 82.8 MB / 0.5105 GB 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.007065/0.2802, allocations: 4.838 MB / 0.6283 GB, free: 81.03 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003094/0.2833, allocations: 2.005 MB / 0.6303 GB, free: 80.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2833, allocations: 4.062 kB / 0.6303 GB, free: 80.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001993/0.2853, allocations: 1.288 MB / 0.6316 GB, free: 79.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.2858, allocations: 83.78 kB / 0.6316 GB, free: 79.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/0.3021, allocations: 13.06 MB / 0.6444 GB, free: 73.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.3023, allocations: 437.4 kB / 0.6448 GB, free: 72.63 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.3025, allocations: 102.1 kB / 0.6449 GB, free: 72.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.3028, allocations: 368.4 kB / 0.6453 GB, free: 72.18 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/0.3028, allocations: 0 / 0.6453 GB, free: 72.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.3363, allocations: 31.81 MB / 0.6763 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.31, allocations: 6.344 kB / 0.6763 GB, free: 40.63 MB / 0.5105 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.03 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.528648187406361] Failed to read output from testmodel.py, exit status != 0: 8.41197800450027 8.417474805 8.404398773 Calling exit ...