Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001811/0.001811, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.443/1.443, allocations: 230.6 MB / 252.7 MB, free: 8.289 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.001585/0.001585, allocations: 220.1 kB / 309.2 MB, free: 3.141 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.5561/0.5561, allocations: 101.3 MB / 467 MB, free: 10.3 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_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.002778/0.002778, allocations: 83.88 kB / 0.6244 GB, free: 12.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4221, allocations: 78.6 MB / 0.7012 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.00603/0.4281, allocations: 6.49 MB / 0.7075 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003456/0.4316, allocations: 1.968 MB / 0.7095 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006452/0.4322, allocations: 15.28 kB / 0.7095 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.4327, allocations: 226 kB / 0.7097 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.4345, allocations: 0.7805 MB / 0.7105 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.4358, allocations: 0.6237 MB / 0.7111 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001534/0.4373, allocations: 1.42 MB / 0.7125 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/0.4377, allocations: 229.8 kB / 0.7127 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000684/0.4384, allocations: 0.6058 MB / 0.7133 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000728/0.4391, allocations: 0.7267 MB / 0.714 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.4392, allocations: 100.9 kB / 0.7141 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004913/0.4397, allocations: 253.3 kB / 0.7143 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.4399, allocations: 281 kB / 0.7146 GB, free: 448 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004584/0.4404, allocations: 0.6246 MB / 0.7152 GB, free: 12 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.4425, allocations: 1.53 MB / 0.7167 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4425, allocations: 0 / 0.7167 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4425, allocations: 0 / 0.7167 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.888e-05/0.4425, allocations: 0 / 0.7167 GB, free: 15.3 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.008457/0.451, allocations: 2.539 MB / 0.7192 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.451, allocations: 8 kB / 0.7192 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/0.4512, allocations: 128.4 kB / 0.7193 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005197/0.4564, allocations: 0.8189 MB / 0.7201 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.4578, allocations: 0.7221 MB / 0.7208 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003269/0.4581, allocations: 309.7 kB / 0.7211 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.4583, allocations: 79.27 kB / 0.7212 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/0.4606, allocations: 1.074 MB / 0.7222 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.4606, allocations: 0.8125 kB / 0.7222 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.4607, allocations: 38.34 kB / 0.7223 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.4607, allocations: 18.09 kB / 0.7223 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002719/0.4635, allocations: 1.118 MB / 0.7234 GB, free: 12.32 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.006515/0.47, allocations: 3.381 MB / 0.7267 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002267/0.4722, allocations: 0.875 MB / 0.7275 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/0.4739, allocations: 0.7025 MB / 0.7282 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.474, allocations: 16.41 kB / 0.7282 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.4741, allocations: 43.66 kB / 0.7283 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 2.534e-06/0.4741, allocations: 0 / 0.7283 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.02665/0.5007, allocations: 6.637 MB / 0.7347 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.5008, allocations: 62 kB / 0.7348 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.5021, allocations: 0.8927 MB / 0.7357 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002334/0.5024, allocations: 49.61 kB / 0.7357 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004332/0.5028, allocations: 0.4966 MB / 0.7362 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004085/0.5032, allocations: 355.4 kB / 0.7365 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003944/0.5036, allocations: 198.6 kB / 0.7367 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5038, allocations: 351.9 kB / 0.7371 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/0.5055, allocations: 0.712 MB / 0.7378 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/0.5075, allocations: 0.8418 MB / 0.7386 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01975/0.5272, allocations: 4.894 MB / 0.7434 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.5272, allocations: 4 kB / 0.7434 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0141/0.5413, allocations: 4.224 MB / 0.7475 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.5414, allocations: 10.12 kB / 0.7475 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.5414, allocations: 2.75 kB / 0.7475 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006419/0.5478, allocations: 1.858 MB / 0.7493 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.5491, allocations: 207.7 kB / 0.7495 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02263/0.5717, allocations: 8.99 MB / 0.7583 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.5733, allocations: 183.2 kB / 0.7585 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.5734, allocations: 39.98 kB / 0.7585 GB, free: 5.387 MB / 0.5137 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.0005166/0.5739, allocations: 246.3 kB / 0.7588 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.5742, allocations: 127.2 kB / 0.7589 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/0.5883, allocations: 3.967 MB / 0.7627 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.5883, allocations: 8 kB / 0.7628 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.5883, allocations: 15.81 kB / 0.7628 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.5883, allocations: 3.984 kB / 0.7628 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/0.6048, allocations: 5.551 MB / 0.7682 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.6048, allocations: 3.938 kB / 0.7682 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000768/0.6055, allocations: 131.8 kB / 0.7683 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006228/0.6118, allocations: 1.745 MB / 0.77 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/0.6119, allocations: 24 kB / 0.7701 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02002/0.6319, allocations: 7.973 MB / 0.7778 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6319, allocations: 0 / 0.7778 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/0.6483, allocations: 4.945 MB / 0.7827 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000425/0.6488, allocations: 135 kB / 0.7828 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.649, allocations: 16 kB / 0.7828 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.65, allocations: 107.9 kB / 0.7829 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000735/0.6507, allocations: 224.6 kB / 0.7831 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.123e-05/0.6508, allocations: 31.92 kB / 0.7832 GB, free: 11.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008588/0.6517, allocations: 0.593 MB / 0.7837 GB, free: 11.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.6517, allocations: 0 / 0.7837 GB, free: 11.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001307/0.653, allocations: 439.6 kB / 0.7842 GB, free: 10.81 MB / 0.545 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.01659/0.6696, allocations: 5.511 MB / 0.7895 GB, free: 5.266 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007164/0.6767, allocations: 2.37 MB / 0.7919 GB, free: 2.883 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6767, allocations: 4.125 kB / 0.7919 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005144/0.6819, allocations: 1.514 MB / 0.7933 GB, free: 1.348 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008434/0.6827, allocations: 84.42 kB / 0.7934 GB, free: 1.266 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0405/0.7232, allocations: 15.15 MB / 0.8082 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009236/0.7242, allocations: 1.088 MB / 0.8093 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004558/0.7246, allocations: 90.75 kB / 0.8094 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006424/0.7253, allocations: 447.3 kB / 0.8098 GB, free: 288 kB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.7253, allocations: 0 / 0.8098 GB, free: 288 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08147/0.8067, allocations: 34.62 MB / 0.8436 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.61/19.42, allocations: 3.5 kB / 0.8436 GB, free: 13.81 MB / 0.6075 GB " [Timeout remaining time 640] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.077788926893845] Failed to read output from testmodel.py, exit status != 0: 19.556494257878512 19.585263982 19.136149474 Calling exit ...