Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.001306/0.001306, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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 1.438/1.438, allocations: 230.6 MB / 253.4 MB, free: 14.5 MB / 206.1 MB " [Timeout remaining time 178] 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.001519/0.001519, allocations: 206.9 kB / 310 MB, free: 3.145 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4848/0.4848, allocations: 79.73 MB / 446.2 MB, free: 38.71 MB / 350.1 MB " [Timeout remaining time 179] 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.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.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003583/0.003583, allocations: 83.2 kB / 0.5937 GB, free: 38.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1329, allocations: 73.31 MB / 0.6653 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.00751/0.1404, allocations: 6.454 MB / 0.6716 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004223/0.1446, allocations: 1.963 MB / 0.6735 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007213/0.1453, allocations: 15.94 kB / 0.6735 GB, free: 9.676 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005704/0.1459, allocations: 218 kB / 0.6737 GB, free: 9.461 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.1478, allocations: 0.7812 MB / 0.6745 GB, free: 8.68 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.1491, allocations: 0.6305 MB / 0.6751 GB, free: 8.055 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001641/0.1507, allocations: 1.413 MB / 0.6765 GB, free: 6.637 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/0.1511, allocations: 224.8 kB / 0.6767 GB, free: 6.406 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007794/0.1519, allocations: 0.6068 MB / 0.6773 GB, free: 5.797 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008611/0.1528, allocations: 0.7388 MB / 0.678 GB, free: 5.055 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.1529, allocations: 100 kB / 0.6781 GB, free: 4.957 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005197/0.1535, allocations: 247.9 kB / 0.6784 GB, free: 4.715 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.1537, allocations: 282.7 kB / 0.6786 GB, free: 4.438 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005709/0.1543, allocations: 0.6251 MB / 0.6792 GB, free: 3.809 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.1561, allocations: 1.521 MB / 0.6807 GB, free: 2.281 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1561, allocations: 0 / 0.6807 GB, free: 2.281 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1561, allocations: 4 kB / 0.6807 GB, free: 2.277 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.892e-05/0.1562, allocations: 0 / 0.6807 GB, free: 2.277 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.008418/0.1646, allocations: 2.534 MB / 0.6832 GB, free: 15.7 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1646, allocations: 12.03 kB / 0.6832 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.247e-05/0.1647, allocations: 18 kB / 0.6832 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/0.1648, allocations: 130.8 kB / 0.6833 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005182/0.17, allocations: 0.8186 MB / 0.6841 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.1716, allocations: 0.7206 MB / 0.6849 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000379/0.172, allocations: 311.6 kB / 0.6851 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.1721, allocations: 76 kB / 0.6852 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.1746, allocations: 1.073 MB / 0.6863 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1746, allocations: 4 kB / 0.6863 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.843e-05/0.1747, allocations: 32 kB / 0.6863 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.1747, allocations: 16 kB / 0.6863 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.1774, allocations: 1.12 MB / 0.6874 GB, free: 11.27 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 preOpt removeSimpleEquations (simulation): time 0.0062/0.1836, allocations: 3.379 MB / 0.6907 GB, free: 7.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.1857, allocations: 0.8778 MB / 0.6916 GB, free: 6.867 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.1873, allocations: 0.6953 MB / 0.6922 GB, free: 6.164 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-05/0.1874, allocations: 16.98 kB / 0.6923 GB, free: 6.148 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.1875, allocations: 47.5 kB / 0.6923 GB, free: 6.094 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.595e-06/0.1875, allocations: 0 / 0.6923 GB, free: 6.094 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02799/0.2155, allocations: 6.642 MB / 0.6988 GB, free: 15.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.2155, allocations: 68.41 kB / 0.6989 GB, free: 15.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.2168, allocations: 0.8962 MB / 0.6997 GB, free: 14.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002244/0.217, allocations: 41.7 kB / 0.6998 GB, free: 14.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004112/0.2175, allocations: 0.5013 MB / 0.7003 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003872/0.2178, allocations: 353 kB / 0.7006 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004217/0.2183, allocations: 202.9 kB / 0.7008 GB, free: 13.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.2184, allocations: 345.9 kB / 0.7011 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/0.2202, allocations: 0.7092 MB / 0.7018 GB, free: 12.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.222, allocations: 0.8423 MB / 0.7026 GB, free: 11.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0204/0.2424, allocations: 4.889 MB / 0.7074 GB, free: 6.488 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.966e-05/0.2425, allocations: 7.938 kB / 0.7074 GB, free: 6.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01568/0.2581, allocations: 4.227 MB / 0.7116 GB, free: 2.238 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.2582, allocations: 4 kB / 0.7116 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.2582, allocations: 4 kB / 0.7116 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006755/0.2649, allocations: 1.87 MB / 0.7134 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.2661, allocations: 207.7 kB / 0.7136 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02385/0.2899, allocations: 9.006 MB / 0.7224 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.2915, allocations: 175.2 kB / 0.7225 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/0.2917, allocations: 39.98 kB / 0.7226 GB, free: 6.816 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (108): * Single equations (assignments): 107 * 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 {(26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007135/0.2924, allocations: 249.5 kB / 0.7228 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003757/0.2928, allocations: 123.2 kB / 0.7229 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/0.3071, allocations: 3.967 MB / 0.7268 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.3072, allocations: 15.94 kB / 0.7268 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3072, allocations: 0 / 0.7268 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.243e-05/0.3072, allocations: 3.984 kB / 0.7268 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0171/0.3243, allocations: 5.562 MB / 0.7323 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.3243, allocations: 0 / 0.7323 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008004/0.3251, allocations: 131.8 kB / 0.7324 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006521/0.3316, allocations: 1.741 MB / 0.7341 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002733/0.3319, allocations: 20 kB / 0.7341 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02077/0.3527, allocations: 7.985 MB / 0.7419 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3527, allocations: 4 kB / 0.7419 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/0.3695, allocations: 4.937 MB / 0.7467 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004433/0.3699, allocations: 131 kB / 0.7469 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003747/0.3703, allocations: 16 kB / 0.7469 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.3717, allocations: 111.9 kB / 0.747 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008574/0.3725, allocations: 224.5 kB / 0.7472 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.3727, allocations: 27.98 kB / 0.7472 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009898/0.3737, allocations: 0.5969 MB / 0.7478 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.3737, allocations: 0 / 0.7478 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001611/0.3753, allocations: 439.6 kB / 0.7482 GB, free: 12.25 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01731/0.3926, allocations: 5.522 MB / 0.7536 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008114/0.4007, allocations: 2.358 MB / 0.7559 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4007, allocations: 0 / 0.7559 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005573/0.4063, allocations: 1.515 MB / 0.7574 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.4074, allocations: 90.3 kB / 0.7575 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04367/0.451, allocations: 15.15 MB / 0.7723 GB, free: 3.352 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009255/0.4519, allocations: 1.092 MB / 0.7733 GB, free: 2.234 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004581/0.4524, allocations: 86.75 kB / 0.7734 GB, free: 2.145 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007192/0.4531, allocations: 451.3 kB / 0.7739 GB, free: 1.703 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/0.4531, allocations: 0 / 0.7739 GB, free: 1.703 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3439/0.7971, allocations: 34.61 MB / 0.8077 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.2/18.99, allocations: 5.438 kB / 0.8077 GB, free: 131.9 MB / 0.5762 GB " [Timeout remaining time 641] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.68366571003571] Failed to read output from testmodel.py, exit status != 0: 19.181509747053497 19.207233247 19.045908548 Calling exit ...