Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001731/0.001731, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.496/1.496, allocations: 230.6 MB / 252.7 MB, free: 8.066 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.001642/0.001642, allocations: 215.8 kB / 309.2 MB, free: 2.953 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5743/0.5743, allocations: 107.2 MB / 472.8 MB, free: 4.52 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",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.002587/0.002587, allocations: 87.88 kB / 0.6331 GB, free: 5.016 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4774, allocations: 80.15 MB / 0.7113 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.0059/0.4833, allocations: 5.755 MB / 0.7169 GB, free: 372 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004762/0.4881, allocations: 1.915 MB / 0.7188 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.4896, allocations: 14.44 kB / 0.7188 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000864/0.4905, allocations: 227.2 kB / 0.7191 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.4932, allocations: 0.7665 MB / 0.7198 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.4949, allocations: 0.635 MB / 0.7204 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002216/0.4972, allocations: 1.435 MB / 0.7218 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.4976, allocations: 215.8 kB / 0.722 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008467/0.4984, allocations: 0.6142 MB / 0.7226 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000808/0.4992, allocations: 0.6738 MB / 0.7233 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.4993, allocations: 99.41 kB / 0.7234 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005084/0.4999, allocations: 247.5 kB / 0.7236 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.5001, allocations: 282.6 kB / 0.7239 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000496/0.5006, allocations: 0.5062 MB / 0.7244 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.5025, allocations: 1.558 MB / 0.7259 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.5025, allocations: 6.203 kB / 0.7259 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5025, allocations: 0 / 0.7259 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.967e-05/0.5025, allocations: 0 / 0.7259 GB, free: 11.38 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.008263/0.5108, allocations: 2.555 MB / 0.7284 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.5108, allocations: 9.625 kB / 0.7284 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002789/0.5111, allocations: 136 kB / 0.7285 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00558/0.5167, allocations: 0.8164 MB / 0.7293 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.5182, allocations: 0.7236 MB / 0.73 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003581/0.5185, allocations: 315.6 kB / 0.7303 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.5187, allocations: 79.98 kB / 0.7304 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.5213, allocations: 1.081 MB / 0.7315 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.5213, allocations: 4 kB / 0.7315 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.5214, allocations: 35.48 kB / 0.7315 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.5214, allocations: 18.91 kB / 0.7315 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00286/0.5243, allocations: 1.122 MB / 0.7326 GB, free: 8.375 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.006318/0.5306, allocations: 2.645 MB / 0.7352 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.5327, allocations: 0.8773 MB / 0.7361 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/0.5343, allocations: 0.6976 MB / 0.7367 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.5344, allocations: 18.61 kB / 0.7368 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.5344, allocations: 40.31 kB / 0.7368 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 3.416e-06/0.5344, allocations: 7.938 kB / 0.7368 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.02817/0.5626, allocations: 6.762 MB / 0.7434 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.5627, allocations: 65.94 kB / 0.7435 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.5641, allocations: 0.9051 MB / 0.7444 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.5643, allocations: 41.33 kB / 0.7444 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004643/0.5648, allocations: 0.4975 MB / 0.7449 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004646/0.5653, allocations: 368.7 kB / 0.7452 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004226/0.5657, allocations: 201.8 kB / 0.7454 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.5659, allocations: 356.3 kB / 0.7458 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/0.5676, allocations: 0.728 MB / 0.7465 GB, free: 244 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/0.5696, allocations: 0.8609 MB / 0.7473 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02058/0.5902, allocations: 4.958 MB / 0.7522 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.5902, allocations: 0 / 0.7522 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01537/0.6056, allocations: 4.25 MB / 0.7563 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.6056, allocations: 4 kB / 0.7563 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.6056, allocations: 7.938 kB / 0.7563 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006573/0.6122, allocations: 1.721 MB / 0.758 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.6135, allocations: 231.7 kB / 0.7582 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02337/0.6368, allocations: 8.775 MB / 0.7668 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.6386, allocations: 183.2 kB / 0.767 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.6387, allocations: 47.98 kB / 0.767 GB, free: 13.88 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 (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.0005408/0.6393, allocations: 237.6 kB / 0.7672 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.6395, allocations: 135.1 kB / 0.7674 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/0.6538, allocations: 3.983 MB / 0.7713 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.6539, allocations: 8 kB / 0.7713 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.6539, allocations: 0 / 0.7713 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.69e-05/0.6539, allocations: 3.984 kB / 0.7713 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/0.6715, allocations: 4.989 MB / 0.7761 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.6715, allocations: 4 kB / 0.7762 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008969/0.6724, allocations: 127.8 kB / 0.7763 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006538/0.6789, allocations: 1.741 MB / 0.778 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002122/0.6792, allocations: 27.92 kB / 0.778 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02078/0.6999, allocations: 7.751 MB / 0.7856 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.6999, allocations: 0 / 0.7856 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/0.7171, allocations: 4.941 MB / 0.7904 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004795/0.7176, allocations: 135 kB / 0.7905 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002412/0.7178, allocations: 16 kB / 0.7905 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.7189, allocations: 108 kB / 0.7906 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000756/0.7197, allocations: 232.6 kB / 0.7909 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.379e-05/0.7198, allocations: 23.98 kB / 0.7909 GB, free: 5.207 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008746/0.7206, allocations: 0.6012 MB / 0.7915 GB, free: 4.598 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7206, allocations: 0 / 0.7915 GB, free: 4.598 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001414/0.722, allocations: 447.6 kB / 0.7919 GB, free: 4.16 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.01706/0.7391, allocations: 5.518 MB / 0.7973 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007608/0.7467, allocations: 2.365 MB / 0.7996 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.7467, allocations: 4.188 kB / 0.7996 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0053/0.752, allocations: 1.525 MB / 0.8011 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009394/0.753, allocations: 94.53 kB / 0.8012 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04404/0.797, allocations: 15.39 MB / 0.8162 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/0.7976, allocations: 0.5059 MB / 0.8167 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005142/0.7981, allocations: 94.88 kB / 0.8168 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006548/0.7988, allocations: 451.3 kB / 0.8172 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of SimCode: time 1.513e-06/0.7988, allocations: 0 / 0.8172 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1108/0.9096, allocations: 35.77 MB / 0.8522 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.87, allocations: 6.656 kB / 0.8522 GB, free: 6.293 MB / 0.6075 GB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.6366644538939] Failed to read output from testmodel.py, exit status != 0: 15.007717384956777 15.023990053 14.51828726 Calling exit ...