Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.001714/0.001714, allocations: 114.5 kB / 17.16 MB, free: 5.895 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.446/1.446, allocations: 230.6 MB / 250.5 MB, free: 9.395 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.001524/0.001524, allocations: 214.8 kB / 306.7 MB, free: 4.336 MB / 238.1 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.5431/0.5431, allocations: 101.3 MB / 464 MB, free: 12.02 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.002402/0.002402, allocations: 83.86 kB / 0.62 GB, free: 15.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1647, allocations: 78.56 MB / 0.6967 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.2971/0.4619, allocations: 6.565 MB / 0.7031 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004685/0.4665, allocations: 2.005 MB / 0.7051 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.4681, allocations: 15.94 kB / 0.7051 GB, free: 3.727 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007809/0.4689, allocations: 222.1 kB / 0.7053 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.4712, allocations: 0.7928 MB / 0.7061 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.4726, allocations: 0.6448 MB / 0.7067 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002104/0.4747, allocations: 1.44 MB / 0.7081 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004385/0.4752, allocations: 231.6 kB / 0.7083 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009204/0.4761, allocations: 0.6175 MB / 0.7089 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008273/0.4769, allocations: 0.7356 MB / 0.7097 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.4771, allocations: 102.7 kB / 0.7097 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005474/0.4776, allocations: 253.1 kB / 0.71 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.4778, allocations: 283.9 kB / 0.7103 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004421/0.4783, allocations: 0.6262 MB / 0.7109 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.4803, allocations: 1.544 MB / 0.7124 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4803, allocations: 0.75 kB / 0.7124 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4803, allocations: 4 kB / 0.7124 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.383e-05/0.4803, allocations: 0 / 0.7124 GB, free: 15.86 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.00894/0.4893, allocations: 2.626 MB / 0.7149 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.4893, allocations: 11.97 kB / 0.715 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.741e-05/0.4894, allocations: 18.67 kB / 0.715 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001895/0.4895, allocations: 134.1 kB / 0.7151 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005355/0.4949, allocations: 0.8196 MB / 0.7159 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.4967, allocations: 0.7941 MB / 0.7167 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/0.4971, allocations: 257 kB / 0.7169 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.4972, allocations: 82.92 kB / 0.717 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/0.4998, allocations: 1.088 MB / 0.7181 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4998, allocations: 0 / 0.7181 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.4999, allocations: 29.61 kB / 0.7181 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.4999, allocations: 23.03 kB / 0.7181 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002917/0.5028, allocations: 1.123 MB / 0.7192 GB, free: 12.78 MB / 0.4981 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.007413/0.5102, allocations: 3.486 MB / 0.7226 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.5128, allocations: 1.334 MB / 0.7239 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00219/0.515, allocations: 0.7059 MB / 0.7246 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.5151, allocations: 16.55 kB / 0.7246 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.5152, allocations: 47.97 kB / 0.7247 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 3.336e-06/0.5152, allocations: 3.938 kB / 0.7247 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.02906/0.5442, allocations: 6.847 MB / 0.7314 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.5443, allocations: 61.78 kB / 0.7314 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.5459, allocations: 0.9048 MB / 0.7323 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003501/0.5462, allocations: 45.14 kB / 0.7323 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004326/0.5466, allocations: 0.4967 MB / 0.7328 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00051/0.5472, allocations: 364.5 kB / 0.7332 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004691/0.5476, allocations: 202 kB / 0.7334 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.5478, allocations: 360.1 kB / 0.7337 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/0.5496, allocations: 0.7277 MB / 0.7344 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/0.5515, allocations: 0.8593 MB / 0.7353 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02002/0.5715, allocations: 4.955 MB / 0.7401 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.5715, allocations: 1.188 kB / 0.7401 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01482/0.5864, allocations: 4.252 MB / 0.7443 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.5864, allocations: 5.531 kB / 0.7443 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.5864, allocations: 2.25 kB / 0.7443 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006522/0.5929, allocations: 1.727 MB / 0.746 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.5943, allocations: 230.8 kB / 0.7462 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02256/0.6168, allocations: 9.074 MB / 0.755 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.6186, allocations: 175.2 kB / 0.7552 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.6188, allocations: 39.98 kB / 0.7552 GB, free: 5.66 MB / 0.5137 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" 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 (117): * Single equations (assignments): 116 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006028/0.6194, allocations: 245.6 kB / 0.7555 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/0.6197, allocations: 131.1 kB / 0.7556 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/0.6337, allocations: 3.979 MB / 0.7595 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.6337, allocations: 8 kB / 0.7595 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6337, allocations: 0 / 0.7595 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.37e-05/0.6338, allocations: 11.95 kB / 0.7595 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/0.6507, allocations: 5.599 MB / 0.765 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.6507, allocations: 0 / 0.765 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008313/0.6515, allocations: 127.9 kB / 0.7651 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006427/0.658, allocations: 1.738 MB / 0.7668 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002609/0.6582, allocations: 19.98 kB / 0.7668 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02048/0.6787, allocations: 8.069 MB / 0.7747 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6787, allocations: 0 / 0.7747 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01684/0.6955, allocations: 4.949 MB / 0.7795 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005983/0.6961, allocations: 208.1 kB / 0.7797 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003496/0.6965, allocations: 20 kB / 0.7797 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.6976, allocations: 111.9 kB / 0.7798 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007239/0.6984, allocations: 208.7 kB / 0.78 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.294e-05/0.6984, allocations: 31.98 kB / 0.7801 GB, free: 11.87 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008445/0.6993, allocations: 0.6012 MB / 0.7807 GB, free: 11.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.6993, allocations: 0 / 0.7807 GB, free: 11.26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001563/0.7008, allocations: 443.6 kB / 0.7811 GB, free: 10.83 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.01656/0.7174, allocations: 5.519 MB / 0.7865 GB, free: 5.273 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007574/0.725, allocations: 2.36 MB / 0.7888 GB, free: 2.902 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.725, allocations: 0 / 0.7888 GB, free: 2.902 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005327/0.7303, allocations: 1.525 MB / 0.7903 GB, free: 1.359 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.7314, allocations: 100.3 kB / 0.7904 GB, free: 1.258 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04596/0.7774, allocations: 15.39 MB / 0.8054 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007501/0.7781, allocations: 1.103 MB / 0.8065 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004805/0.7786, allocations: 86.89 kB / 0.8066 GB, free: 472 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006624/0.7793, allocations: 447.3 kB / 0.807 GB, free: 24 kB / 0.5606 GB Notification: Performance of SimCode: time 1.934e-06/0.7793, allocations: 4 kB / 0.807 GB, free: 20 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07204/0.8513, allocations: 34.05 MB / 0.8402 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.06/17.91, allocations: 4.062 kB / 0.8402 GB, free: 14.11 MB / 0.6075 GB " [Timeout remaining time 642] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.678426242957357] Failed to read output from testmodel.py, exit status != 0: 18.06961191003211 18.083469789 17.600235186 Calling exit ...