Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08781/0.08781, allocations: 12.77 MB / 29.12 MB, free: 220 kB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 115.5 kB / 34.91 MB, free: 1.203 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 207.6 MB / 248.2 MB, free: 10.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 192.4 kB / 303.1 MB, free: 5.578 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4421/0.4421, allocations: 79.7 MB / 437.6 MB, free: 4.012 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003927/0.003927, allocations: 151.8 kB / 0.5828 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.13, allocations: 72 MB / 0.6531 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007457/0.1375, allocations: 6.454 MB / 0.6594 GB, free: 9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003656/0.1411, allocations: 1.83 MB / 0.6612 GB, free: 7.164 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005391/0.1416, allocations: 8 kB / 0.6612 GB, free: 7.156 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.1422, allocations: 222 kB / 0.6614 GB, free: 6.938 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.1439, allocations: 0.7688 MB / 0.6622 GB, free: 6.164 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.1453, allocations: 0.5987 MB / 0.6628 GB, free: 5.574 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001727/0.147, allocations: 1.409 MB / 0.6641 GB, free: 4.16 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/0.1474, allocations: 224.4 kB / 0.6643 GB, free: 3.926 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007558/0.1482, allocations: 0.5912 MB / 0.6649 GB, free: 3.332 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008428/0.149, allocations: 0.7232 MB / 0.6656 GB, free: 2.605 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.1492, allocations: 103.9 kB / 0.6657 GB, free: 2.504 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004813/0.1496, allocations: 235.9 kB / 0.666 GB, free: 2.273 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.1499, allocations: 278.8 kB / 0.6662 GB, free: 2 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005462/0.1504, allocations: 0.6174 MB / 0.6668 GB, free: 1.379 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.1521, allocations: 1.505 MB / 0.6683 GB, free: 15.86 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1521, allocations: 3.984 kB / 0.6683 GB, free: 15.86 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1521, allocations: 0 / 0.6683 GB, free: 15.86 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.1522, allocations: 0 / 0.6683 GB, free: 15.86 MB / 478.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.007867/0.16, allocations: 2.586 MB / 0.6708 GB, free: 13.22 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1601, allocations: 11.98 kB / 0.6708 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/0.1603, allocations: 130.8 kB / 0.671 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004942/0.1652, allocations: 0.7874 MB / 0.6717 GB, free: 12.28 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.1667, allocations: 0.7732 MB / 0.6725 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/0.167, allocations: 260.2 kB / 0.6727 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.1672, allocations: 76 kB / 0.6728 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.1695, allocations: 1.077 MB / 0.6739 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.1696, allocations: 0 / 0.6739 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.911e-05/0.1696, allocations: 32 kB / 0.6739 GB, free: 9.977 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.1697, allocations: 16 kB / 0.6739 GB, free: 9.961 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0025/0.1722, allocations: 1.12 MB / 0.675 GB, free: 8.836 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.006034/0.1782, allocations: 3.429 MB / 0.6783 GB, free: 5.258 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.1803, allocations: 1.314 MB / 0.6796 GB, free: 3.824 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.1818, allocations: 0.6992 MB / 0.6803 GB, free: 3.125 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.701e-05/0.1819, allocations: 20.92 kB / 0.6803 GB, free: 3.105 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.182, allocations: 39.56 kB / 0.6804 GB, free: 3.059 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.545e-06/0.182, allocations: 0 / 0.6804 GB, free: 3.059 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02543/0.2074, allocations: 6.723 MB / 0.6869 GB, free: 12.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.2075, allocations: 64.41 kB / 0.687 GB, free: 12.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.2087, allocations: 0.8877 MB / 0.6879 GB, free: 11.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.2089, allocations: 45.7 kB / 0.6879 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.2093, allocations: 0.4973 MB / 0.6884 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003832/0.2097, allocations: 356.9 kB / 0.6887 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000388/0.2101, allocations: 194.9 kB / 0.6889 GB, free: 10.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.2103, allocations: 353.9 kB / 0.6892 GB, free: 9.863 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.2119, allocations: 0.7131 MB / 0.6899 GB, free: 9.152 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.2136, allocations: 0.8384 MB / 0.6908 GB, free: 8.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01846/0.2321, allocations: 4.772 MB / 0.6954 GB, free: 3.473 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.2321, allocations: 4 kB / 0.6954 GB, free: 3.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.2599/0.492, allocations: 4.225 MB / 0.6996 GB, free: 40.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.492, allocations: 6.969 kB / 0.6996 GB, free: 40.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.492, allocations: 1.125 kB / 0.6996 GB, free: 40.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006191/0.4982, allocations: 1.862 MB / 0.7014 GB, free: 40.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.4993, allocations: 214.3 kB / 0.7016 GB, free: 40.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02106/0.5203, allocations: 9.077 MB / 0.7104 GB, free: 37.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.5218, allocations: 183.7 kB / 0.7106 GB, free: 37.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.5219, allocations: 38.86 kB / 0.7107 GB, free: 37.12 MB / 494.1 MB 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.0004912/0.5224, allocations: 242.5 kB / 0.7109 GB, free: 36.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/0.5227, allocations: 123.9 kB / 0.711 GB, free: 36.87 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/0.5361, allocations: 3.973 MB / 0.7149 GB, free: 35.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.5361, allocations: 13.31 kB / 0.7149 GB, free: 35.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5361, allocations: 5 kB / 0.7149 GB, free: 35.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.5361, allocations: 3 kB / 0.7149 GB, free: 35.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/0.55, allocations: 5.586 MB / 0.7204 GB, free: 34.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.55, allocations: 0.875 kB / 0.7204 GB, free: 34.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000712/0.5507, allocations: 126.2 kB / 0.7205 GB, free: 34.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005429/0.5562, allocations: 1.748 MB / 0.7222 GB, free: 33.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.5563, allocations: 24.12 kB / 0.7222 GB, free: 33.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/0.5722, allocations: 8.072 MB / 0.7301 GB, free: 28.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5722, allocations: 3.625 kB / 0.7301 GB, free: 28.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/0.5851, allocations: 4.938 MB / 0.7349 GB, free: 26.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/0.5855, allocations: 208.9 kB / 0.7351 GB, free: 25.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.5857, allocations: 16.94 kB / 0.7351 GB, free: 25.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009822/0.5867, allocations: 114.6 kB / 0.7352 GB, free: 25.87 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006584/0.5873, allocations: 215.3 kB / 0.7355 GB, free: 25.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.699e-05/0.5874, allocations: 27.8 kB / 0.7355 GB, free: 25.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006802/0.5881, allocations: 0.5931 MB / 0.7361 GB, free: 25.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5881, allocations: 0 / 0.7361 GB, free: 25.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001326/0.5894, allocations: 431.4 kB / 0.7365 GB, free: 25.01 MB / 494.1 MB 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.01297/0.6024, allocations: 5.525 MB / 0.7419 GB, free: 19.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006175/0.6085, allocations: 2.355 MB / 0.7442 GB, free: 17.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.6085, allocations: 5.906 kB / 0.7442 GB, free: 17.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004201/0.6127, allocations: 1.527 MB / 0.7457 GB, free: 15.56 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009494/0.6137, allocations: 92.98 kB / 0.7458 GB, free: 15.47 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03263/0.6463, allocations: 15.09 MB / 0.7605 GB, free: 216 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000836/0.6472, allocations: 1.084 MB / 0.7615 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004522/0.6476, allocations: 94.67 kB / 0.7616 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006824/0.6483, allocations: 447.3 kB / 0.7621 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of SimCode: time 1.323e-06/0.6483, allocations: 3.938 kB / 0.7621 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09757/0.7459, allocations: 33.55 MB / 0.7948 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.25/18, allocations: 7.844 kB / 0.7948 GB, free: 13.1 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.453391818329692] Failed to read output from testmodel.py, exit status != 0: 18.110475053079426 18.134722189 17.977949595 Calling exit ...