Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.001793/0.001793, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.479/1.479, allocations: 230.6 MB / 253.4 MB, free: 14.48 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.001513/0.001513, allocations: 219.8 kB / 310 MB, free: 3.105 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.4768/0.4768, allocations: 79.73 MB / 446.2 MB, free: 38.8 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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_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.002424/0.002424, allocations: 83.45 kB / 0.5937 GB, free: 38.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1129, allocations: 73.3 MB / 0.6653 GB, free: 0.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007792/0.1207, allocations: 6.512 MB / 0.6717 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004272/0.125, allocations: 1.969 MB / 0.6736 GB, free: 9.551 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006817/0.1256, allocations: 15.94 kB / 0.6736 GB, free: 9.535 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005648/0.1262, allocations: 222 kB / 0.6738 GB, free: 9.316 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.1282, allocations: 0.7921 MB / 0.6746 GB, free: 8.52 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.1298, allocations: 0.6293 MB / 0.6752 GB, free: 7.898 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002155/0.1319, allocations: 1.433 MB / 0.6766 GB, free: 6.461 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004554/0.1324, allocations: 228.8 kB / 0.6768 GB, free: 6.227 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009273/0.1333, allocations: 0.6146 MB / 0.6774 GB, free: 5.609 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008908/0.1342, allocations: 0.7427 MB / 0.6781 GB, free: 4.863 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.1343, allocations: 104 kB / 0.6782 GB, free: 4.762 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005726/0.1349, allocations: 255.8 kB / 0.6785 GB, free: 4.512 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002588/0.1352, allocations: 286.7 kB / 0.6787 GB, free: 4.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005787/0.1358, allocations: 0.6252 MB / 0.6794 GB, free: 3.602 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.1377, allocations: 1.548 MB / 0.6809 GB, free: 2.047 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1377, allocations: 7.938 kB / 0.6809 GB, free: 2.039 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1377, allocations: 4 kB / 0.6809 GB, free: 2.035 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.1377, allocations: 0 / 0.6809 GB, free: 2.035 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.008329/0.146, allocations: 2.549 MB / 0.6834 GB, free: 15.45 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1461, allocations: 12.03 kB / 0.6834 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.979e-05/0.1461, allocations: 18 kB / 0.6834 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.1463, allocations: 130.8 kB / 0.6835 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00533/0.1516, allocations: 0.8225 MB / 0.6843 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.153, allocations: 0.7248 MB / 0.685 GB, free: 13.69 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/0.1533, allocations: 311.6 kB / 0.6853 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.1535, allocations: 76 kB / 0.6854 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/0.1559, allocations: 1.089 MB / 0.6865 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.1559, allocations: 0 / 0.6865 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.156, allocations: 32 kB / 0.6865 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.156, allocations: 16 kB / 0.6865 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00267/0.1587, allocations: 1.12 MB / 0.6876 GB, free: 11 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.006051/0.1648, allocations: 3.41 MB / 0.6909 GB, free: 7.441 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.1668, allocations: 0.8856 MB / 0.6918 GB, free: 6.551 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.1685, allocations: 0.7031 MB / 0.6925 GB, free: 5.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.144e-05/0.1686, allocations: 17 kB / 0.6925 GB, free: 5.824 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.1686, allocations: 39.56 kB / 0.6925 GB, free: 5.777 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 2.445e-06/0.1686, allocations: 0 / 0.6925 GB, free: 5.777 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.0272/0.1958, allocations: 6.506 MB / 0.6989 GB, free: 15.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.1959, allocations: 64.34 kB / 0.699 GB, free: 15.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.1973, allocations: 0.9087 MB / 0.6998 GB, free: 14.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.1975, allocations: 45.7 kB / 0.6999 GB, free: 14.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/0.198, allocations: 0.5053 MB / 0.7004 GB, free: 13.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004653/0.1984, allocations: 360.9 kB / 0.7007 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004348/0.1989, allocations: 198.8 kB / 0.7009 GB, free: 13.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.199, allocations: 357.8 kB / 0.7013 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/0.2008, allocations: 0.7209 MB / 0.702 GB, free: 12.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/0.2027, allocations: 0.854 MB / 0.7028 GB, free: 11.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02006/0.2227, allocations: 4.932 MB / 0.7076 GB, free: 6.211 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.2227, allocations: 4 kB / 0.7076 GB, free: 6.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01477/0.2375, allocations: 4.246 MB / 0.7118 GB, free: 1.945 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.2375, allocations: 7.938 kB / 0.7118 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.2376, allocations: 4 kB / 0.7118 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006937/0.2445, allocations: 1.811 MB / 0.7135 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.2456, allocations: 211.8 kB / 0.7137 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.024/0.2696, allocations: 9.234 MB / 0.7228 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.2713, allocations: 183.2 kB / 0.7229 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/0.2716, allocations: 39.92 kB / 0.723 GB, free: 6.34 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006626/0.2722, allocations: 247.7 kB / 0.7232 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/0.2726, allocations: 127.2 kB / 0.7233 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/0.2868, allocations: 3.983 MB / 0.7272 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.2868, allocations: 8 kB / 0.7272 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2868, allocations: 0 / 0.7272 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.14e-05/0.2869, allocations: 7.984 kB / 0.7272 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/0.3037, allocations: 5.555 MB / 0.7327 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.3037, allocations: 0 / 0.7327 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007809/0.3045, allocations: 127.9 kB / 0.7328 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006454/0.3109, allocations: 1.742 MB / 0.7345 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002057/0.3112, allocations: 19.94 kB / 0.7345 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02025/0.3314, allocations: 7.981 MB / 0.7423 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3314, allocations: 4 kB / 0.7423 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01666/0.3481, allocations: 4.941 MB / 0.7471 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/0.3485, allocations: 131 kB / 0.7473 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/0.3488, allocations: 19.94 kB / 0.7473 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.35, allocations: 111.9 kB / 0.7474 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007916/0.3508, allocations: 224.6 kB / 0.7476 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.351, allocations: 27.98 kB / 0.7476 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000984/0.3519, allocations: 0.6051 MB / 0.7482 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.3519, allocations: 0 / 0.7482 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001654/0.3536, allocations: 451.5 kB / 0.7486 GB, free: 11.75 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.017/0.3706, allocations: 5.523 MB / 0.754 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007772/0.3784, allocations: 2.378 MB / 0.7564 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.3784, allocations: 0 / 0.7564 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005368/0.3837, allocations: 1.53 MB / 0.7578 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.3848, allocations: 88.36 kB / 0.7579 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04205/0.4268, allocations: 15.35 MB / 0.7729 GB, free: 2.609 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008616/0.4277, allocations: 1.103 MB / 0.774 GB, free: 1.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004486/0.4281, allocations: 90.83 kB / 0.7741 GB, free: 1.387 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00071/0.4288, allocations: 447.3 kB / 0.7745 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/0.4288, allocations: 0 / 0.7745 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3397/0.7685, allocations: 35.13 MB / 0.8088 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.26/19.03, allocations: 14.33 kB / 0.8088 GB, free: 132.5 MB / 0.5762 GB " [Timeout remaining time 641] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.74472063500434] Failed to read output from testmodel.py, exit status != 0: 19.214970723958686 19.242243973 19.099842145 Calling exit ...