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.00171/0.00171, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 14.27 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.001532/0.001532, allocations: 219.5 kB / 310 MB, free: 3.121 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.4908/0.4908, allocations: 79.74 MB / 446.2 MB, free: 40.27 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.003382/0.003382, allocations: 82.91 kB / 0.5936 GB, free: 38.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1281, allocations: 73.3 MB / 0.6652 GB, free: 340 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007295/0.1353, allocations: 5.637 MB / 0.6707 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0045/0.1398, allocations: 1.862 MB / 0.6725 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.141, allocations: 15.94 kB / 0.6725 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007231/0.1418, allocations: 222 kB / 0.6728 GB, free: 9.988 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.1443, allocations: 0.7572 MB / 0.6735 GB, free: 9.227 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.1461, allocations: 0.6151 MB / 0.6741 GB, free: 8.617 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002186/0.1482, allocations: 1.417 MB / 0.6755 GB, free: 7.195 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005053/0.1488, allocations: 228.8 kB / 0.6757 GB, free: 6.961 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.1499, allocations: 0.6068 MB / 0.6763 GB, free: 6.352 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.151, allocations: 0.731 MB / 0.677 GB, free: 5.617 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.1512, allocations: 100 kB / 0.6771 GB, free: 5.52 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006436/0.1518, allocations: 255.9 kB / 0.6773 GB, free: 5.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.1521, allocations: 278.7 kB / 0.6776 GB, free: 4.996 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005917/0.1527, allocations: 0.5049 MB / 0.6781 GB, free: 4.488 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.1546, allocations: 1.536 MB / 0.6796 GB, free: 2.945 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1546, allocations: 7.938 kB / 0.6796 GB, free: 2.938 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.1546, allocations: 4 kB / 0.6796 GB, free: 2.934 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.351e-05/0.1547, allocations: 3.984 kB / 0.6796 GB, free: 2.93 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.008708/0.1634, allocations: 2.522 MB / 0.6821 GB, free: 376 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1634, allocations: 8.031 kB / 0.6821 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.915e-05/0.1635, allocations: 22 kB / 0.6821 GB, free: 348 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001687/0.1636, allocations: 130.7 kB / 0.6822 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00546/0.1691, allocations: 0.8264 MB / 0.683 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.1706, allocations: 0.7128 MB / 0.6837 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003404/0.1709, allocations: 311.6 kB / 0.684 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.1711, allocations: 79.98 kB / 0.6841 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.1736, allocations: 1.073 MB / 0.6852 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1736, allocations: 0 / 0.6852 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.1737, allocations: 32 kB / 0.6852 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.1737, allocations: 20 kB / 0.6852 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/0.1763, allocations: 1.117 MB / 0.6863 GB, free: 11.94 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.006247/0.1826, allocations: 2.599 MB / 0.6888 GB, free: 9.293 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.1846, allocations: 0.8622 MB / 0.6897 GB, free: 8.426 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.1861, allocations: 0.6953 MB / 0.6904 GB, free: 7.723 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.621e-05/0.1862, allocations: 13 kB / 0.6904 GB, free: 7.711 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.1863, allocations: 43.56 kB / 0.6904 GB, free: 7.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.887e-06/0.1863, allocations: 0 / 0.6904 GB, free: 7.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02631/0.2126, allocations: 6.65 MB / 0.6969 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.2126, allocations: 64.41 kB / 0.697 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.2139, allocations: 0.8885 MB / 0.6978 GB, free: 16 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002408/0.2141, allocations: 53.64 kB / 0.6979 GB, free: 15.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/0.2145, allocations: 0.5013 MB / 0.6984 GB, free: 15.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004301/0.215, allocations: 349 kB / 0.6987 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004624/0.2154, allocations: 194.9 kB / 0.6989 GB, free: 14.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.2156, allocations: 353.9 kB / 0.6992 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.2173, allocations: 0.717 MB / 0.6999 GB, free: 13.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/0.219, allocations: 0.8384 MB / 0.7008 GB, free: 12.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01972/0.2388, allocations: 4.892 MB / 0.7055 GB, free: 8.043 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.2388, allocations: 0 / 0.7055 GB, free: 8.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01448/0.2532, allocations: 4.231 MB / 0.7097 GB, free: 3.797 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.2533, allocations: 8 kB / 0.7097 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.2533, allocations: 0 / 0.7097 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0064/0.2597, allocations: 1.866 MB / 0.7115 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.2608, allocations: 211.7 kB / 0.7117 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02217/0.283, allocations: 8.807 MB / 0.7203 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.2846, allocations: 183.2 kB / 0.7205 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.2848, allocations: 35.98 kB / 0.7205 GB, free: 8.57 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.0005587/0.2854, allocations: 242.1 kB / 0.7207 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/0.2856, allocations: 127.2 kB / 0.7209 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/0.2994, allocations: 3.971 MB / 0.7247 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.2994, allocations: 11.94 kB / 0.7247 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2994, allocations: 0 / 0.7247 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.509e-05/0.2994, allocations: 7.984 kB / 0.7248 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/0.3148, allocations: 4.977 MB / 0.7296 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.3148, allocations: 0 / 0.7296 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007755/0.3156, allocations: 127.8 kB / 0.7297 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006068/0.3216, allocations: 1.745 MB / 0.7314 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/0.3218, allocations: 16 kB / 0.7315 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01967/0.3415, allocations: 7.786 MB / 0.7391 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3415, allocations: 4 kB / 0.7391 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01548/0.357, allocations: 4.937 MB / 0.7439 GB, free: 412 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003697/0.3574, allocations: 131 kB / 0.744 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002252/0.3576, allocations: 16 kB / 0.744 GB, free: 264 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.3586, allocations: 111.9 kB / 0.7441 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000751/0.3594, allocations: 232.5 kB / 0.7444 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.092e-05/0.3595, allocations: 20 kB / 0.7444 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008053/0.3603, allocations: 0.6008 MB / 0.745 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.3603, allocations: 0 / 0.745 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001365/0.3616, allocations: 439.6 kB / 0.7454 GB, free: 14.86 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.01584/0.3775, allocations: 5.522 MB / 0.7508 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007003/0.3845, allocations: 2.356 MB / 0.7531 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3845, allocations: 3.938 kB / 0.7531 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0048/0.3893, allocations: 1.523 MB / 0.7546 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000859/0.3901, allocations: 80.42 kB / 0.7546 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04104/0.4312, allocations: 15.14 MB / 0.7694 GB, free: 5.969 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.4318, allocations: 0.4985 MB / 0.7699 GB, free: 5.438 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004854/0.4323, allocations: 86.78 kB / 0.77 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006686/0.4329, allocations: 455.2 kB / 0.7704 GB, free: 4.902 MB / 0.545 GB Notification: Performance of SimCode: time 1.423e-06/0.4329, allocations: 0 / 0.7704 GB, free: 4.902 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07419/0.5071, allocations: 34.86 MB / 0.8045 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.25/18.76, allocations: 25.27 kB / 0.8045 GB, free: 2.199 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.687796892016195] Failed to read output from testmodel.py, exit status != 0: 18.942323414958082 19.179056926 19.021816695 Calling exit ...