Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.001698/0.001698, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.518/1.518, allocations: 230.6 MB / 252.7 MB, free: 14.3 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.001599/0.001599, allocations: 225 kB / 309.2 MB, free: 3.172 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.6156/0.6156, allocations: 107.3 MB / 473 MB, free: 30 MB / 350.1 MB " [Timeout remaining time 179] 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.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",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.002553/0.002553, allocations: 91.06 kB / 0.6332 GB, free: 29.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1421, allocations: 80.17 MB / 0.7115 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006748/0.1489, allocations: 5.145 MB / 0.7165 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003548/0.1524, allocations: 1.736 MB / 0.7182 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004324/0.1529, allocations: 11.94 kB / 0.7183 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.1533, allocations: 210.2 kB / 0.7185 GB, free: 328 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.1551, allocations: 0.7276 MB / 0.7192 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.1564, allocations: 0.5576 MB / 0.7197 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001515/0.1579, allocations: 1.257 MB / 0.7209 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.1582, allocations: 179.6 kB / 0.7211 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000723/0.159, allocations: 0.5407 MB / 0.7216 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007829/0.1598, allocations: 0.5947 MB / 0.7222 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.1599, allocations: 92 kB / 0.7223 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005258/0.1604, allocations: 227.9 kB / 0.7225 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.1607, allocations: 246.9 kB / 0.7228 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004473/0.1611, allocations: 449.4 kB / 0.7232 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.1629, allocations: 1.385 MB / 0.7245 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1629, allocations: 0 / 0.7245 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.204e-06/0.1629, allocations: 0 / 0.7245 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.888e-05/0.1629, allocations: 0 / 0.7245 GB, free: 10.06 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.008275/0.1712, allocations: 2.323 MB / 0.7268 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.1712, allocations: 16.02 kB / 0.7268 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000153/0.1714, allocations: 114.5 kB / 0.7269 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005097/0.1765, allocations: 0.7642 MB / 0.7277 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.178, allocations: 0.6491 MB / 0.7283 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003575/0.1784, allocations: 307.5 kB / 0.7286 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.1785, allocations: 71.94 kB / 0.7287 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.1808, allocations: 0.9637 MB / 0.7296 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.1808, allocations: 0 / 0.7296 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.135e-05/0.1809, allocations: 31.98 kB / 0.7296 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.1809, allocations: 16 kB / 0.7297 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.1832, allocations: 0.9682 MB / 0.7306 GB, free: 3.707 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.006097/0.1893, allocations: 2.402 MB / 0.733 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.1912, allocations: 0.7702 MB / 0.7337 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.1927, allocations: 0.6306 MB / 0.7343 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.54e-05/0.1928, allocations: 9 kB / 0.7343 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.1928, allocations: 47.5 kB / 0.7344 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=83): time 2.775e-06/0.1928, allocations: 0 / 0.7344 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=83): time 0.02718/0.22, allocations: 6.361 MB / 0.7406 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.2201, allocations: 72.33 kB / 0.7407 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.2213, allocations: 0.7907 MB / 0.7414 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001998/0.2215, allocations: 33.7 kB / 0.7415 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003918/0.2219, allocations: 449 kB / 0.7419 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.2222, allocations: 305.3 kB / 0.7422 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003999/0.2226, allocations: 190.9 kB / 0.7424 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.2228, allocations: 349.9 kB / 0.7427 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.2245, allocations: 0.6545 MB / 0.7433 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.2262, allocations: 0.7835 MB / 0.7441 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01957/0.2458, allocations: 4.625 MB / 0.7486 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.2458, allocations: 0 / 0.7486 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01424/0.26, allocations: 4.048 MB / 0.7526 GB, free: 13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.2601, allocations: 12 kB / 0.7526 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.2601, allocations: 0 / 0.7526 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006457/0.2665, allocations: 1.73 MB / 0.7543 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.2676, allocations: 191.7 kB / 0.7545 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02272/0.2903, allocations: 8.767 MB / 0.763 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.2917, allocations: 155.3 kB / 0.7632 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.2918, allocations: 35.98 kB / 0.7632 GB, free: 2 MB / 0.5294 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 (101): * Single equations (assignments): 100 * 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.000439/0.2922, allocations: 228.6 kB / 0.7634 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.2924, allocations: 111.3 kB / 0.7635 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/0.306, allocations: 3.79 MB / 0.7672 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.306, allocations: 11.94 kB / 0.7672 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.306, allocations: 0 / 0.7672 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.3061, allocations: 3.984 kB / 0.7672 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/0.3215, allocations: 4.72 MB / 0.7718 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.3215, allocations: 0 / 0.7718 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/0.3221, allocations: 91.88 kB / 0.7719 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00629/0.3283, allocations: 1.741 MB / 0.7736 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.3285, allocations: 12 kB / 0.7736 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02009/0.3485, allocations: 7.77 MB / 0.7812 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.3485, allocations: 0 / 0.7812 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/0.3644, allocations: 4.666 MB / 0.7858 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/0.3649, allocations: 115.2 kB / 0.7859 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002902/0.3651, allocations: 16 kB / 0.7859 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.3663, allocations: 91.89 kB / 0.786 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006984/0.367, allocations: 212.5 kB / 0.7862 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.851e-05/0.3671, allocations: 24 kB / 0.7862 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000948/0.368, allocations: 0.5303 MB / 0.7867 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.368, allocations: 0 / 0.7867 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001643/0.3697, allocations: 407.7 kB / 0.7871 GB, free: 9.25 MB / 0.5606 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 (50): * Single equations (assignments): 49 * 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.01633/0.386, allocations: 5.245 MB / 0.7923 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007036/0.393, allocations: 2.196 MB / 0.7944 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.393, allocations: 4.188 kB / 0.7944 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005008/0.398, allocations: 1.444 MB / 0.7958 GB, free: 308 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008741/0.3989, allocations: 79.34 kB / 0.7959 GB, free: 228 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0398/0.4387, allocations: 14.12 MB / 0.8097 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.4392, allocations: 442.6 kB / 0.8101 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003719/0.4396, allocations: 86.23 kB / 0.8102 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005943/0.4402, allocations: 387.3 kB / 0.8106 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/0.4402, allocations: 0 / 0.8106 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3479/0.7882, allocations: 33.04 MB / 0.8428 GB, free: 82.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.49, allocations: 8.062 kB / 0.8428 GB, free: 82.59 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.31564189400524] Failed to read output from testmodel.py, exit status != 0: 14.626695424783975 14.638351409 14.473286072 Calling exit ...