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.001239/0.001239, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.458/1.458, allocations: 230.6 MB / 253.5 MB, free: 14.28 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.001452/0.001452, allocations: 214.3 kB / 310 MB, free: 3.086 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.5738/0.5738, allocations: 101.3 MB / 467.7 MB, free: 31.99 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_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.002349/0.002349, allocations: 82.44 kB / 0.6251 GB, free: 32.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1314, allocations: 78.61 MB / 0.7019 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007083/0.1385, allocations: 5.661 MB / 0.7074 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003803/0.1423, allocations: 1.872 MB / 0.7092 GB, free: 9.254 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005227/0.1429, allocations: 15.94 kB / 0.7092 GB, free: 9.238 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005118/0.1434, allocations: 218.1 kB / 0.7094 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.1451, allocations: 0.76 MB / 0.7102 GB, free: 8.262 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.1465, allocations: 0.6161 MB / 0.7108 GB, free: 7.652 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.1481, allocations: 1.417 MB / 0.7122 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004079/0.1485, allocations: 232.7 kB / 0.7124 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000829/0.1493, allocations: 0.6107 MB / 0.713 GB, free: 5.379 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000874/0.1502, allocations: 0.7271 MB / 0.7137 GB, free: 4.648 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.1504, allocations: 104 kB / 0.7138 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.1509, allocations: 251.9 kB / 0.714 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002604/0.1512, allocations: 278.8 kB / 0.7143 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004961/0.1517, allocations: 0.501 MB / 0.7148 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001819/0.1535, allocations: 1.54 MB / 0.7163 GB, free: 1.977 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1535, allocations: 4 kB / 0.7163 GB, free: 1.973 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1535, allocations: 0 / 0.7163 GB, free: 1.973 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.1535, allocations: 0 / 0.7163 GB, free: 1.973 MB / 494.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.008244/0.1617, allocations: 2.534 MB / 0.7188 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1618, allocations: 8.031 kB / 0.7188 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.148e-05/0.1618, allocations: 22 kB / 0.7188 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.162, allocations: 126.8 kB / 0.7189 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005279/0.1673, allocations: 0.8147 MB / 0.7197 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.1688, allocations: 0.7207 MB / 0.7204 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003725/0.1692, allocations: 315.6 kB / 0.7207 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.1693, allocations: 87.88 kB / 0.7208 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.1718, allocations: 1.069 MB / 0.7218 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1718, allocations: 3.938 kB / 0.7219 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.1719, allocations: 36 kB / 0.7219 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.1719, allocations: 20 kB / 0.7219 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/0.1745, allocations: 1.113 MB / 0.723 GB, free: 10.96 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.005752/0.1803, allocations: 2.595 MB / 0.7255 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/0.1824, allocations: 0.8647 MB / 0.7264 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.184, allocations: 0.707 MB / 0.7271 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.1841, allocations: 13 kB / 0.7271 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.1841, allocations: 43.56 kB / 0.7271 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 3.466e-06/0.1841, allocations: 0 / 0.7271 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.02594/0.2101, allocations: 6.642 MB / 0.7336 GB, free: 20 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.2102, allocations: 64.39 kB / 0.7337 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.2115, allocations: 0.8963 MB / 0.7345 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002144/0.2117, allocations: 37.7 kB / 0.7346 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000439/0.2121, allocations: 0.4974 MB / 0.7351 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004661/0.2126, allocations: 360.9 kB / 0.7354 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004341/0.213, allocations: 198.8 kB / 0.7356 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.2132, allocations: 349.9 kB / 0.7359 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.2149, allocations: 0.7053 MB / 0.7366 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/0.2166, allocations: 0.8462 MB / 0.7374 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01964/0.2363, allocations: 4.896 MB / 0.7422 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.2363, allocations: 4 kB / 0.7422 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01378/0.2501, allocations: 4.227 MB / 0.7464 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.2501, allocations: 6.344 kB / 0.7464 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.2501, allocations: 4 kB / 0.7464 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006322/0.2564, allocations: 1.862 MB / 0.7482 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.2575, allocations: 211.7 kB / 0.7484 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0218/0.2793, allocations: 8.787 MB / 0.757 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.2808, allocations: 187.2 kB / 0.7571 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.281, allocations: 35.98 kB / 0.7572 GB, free: 7.609 MB / 0.5294 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.0005065/0.2815, allocations: 237.6 kB / 0.7574 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.2817, allocations: 123.2 kB / 0.7575 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/0.2949, allocations: 3.979 MB / 0.7614 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.2949, allocations: 11.94 kB / 0.7614 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2949, allocations: 0 / 0.7614 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/0.2949, allocations: 3.984 kB / 0.7614 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/0.3101, allocations: 4.981 MB / 0.7663 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.3101, allocations: 3.984 kB / 0.7663 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007359/0.3108, allocations: 127.8 kB / 0.7664 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005939/0.3168, allocations: 1.738 MB / 0.7681 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/0.3169, allocations: 19.94 kB / 0.7681 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01862/0.3356, allocations: 7.794 MB / 0.7757 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3356, allocations: 0 / 0.7757 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01519/0.3507, allocations: 4.945 MB / 0.7806 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.3511, allocations: 131 kB / 0.7807 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.3513, allocations: 16 kB / 0.7807 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.3523, allocations: 107.9 kB / 0.7808 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000729/0.353, allocations: 232.5 kB / 0.781 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.901e-05/0.3531, allocations: 23.98 kB / 0.7811 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008068/0.3539, allocations: 0.5969 MB / 0.7816 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.3539, allocations: 0 / 0.7816 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001289/0.3552, allocations: 439.6 kB / 0.7821 GB, free: 13.88 MB / 0.5606 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.01546/0.3707, allocations: 5.519 MB / 0.7874 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006926/0.3776, allocations: 2.361 MB / 0.7898 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3776, allocations: 0 / 0.7898 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004796/0.3824, allocations: 1.522 MB / 0.7912 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007741/0.3832, allocations: 83.66 kB / 0.7913 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03873/0.4219, allocations: 15.15 MB / 0.8061 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/0.4225, allocations: 0.4984 MB / 0.8066 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004923/0.423, allocations: 90.75 kB / 0.8067 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007011/0.4237, allocations: 447.3 kB / 0.8071 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of SimCode: time 1.984e-06/0.4237, allocations: 0 / 0.8071 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3558/0.7796, allocations: 34.87 MB / 0.8412 GB, free: 90.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.04/18.82, allocations: 7.984 kB / 0.8412 GB, free: 90.68 MB / 0.5762 GB " [Timeout remaining time 641] (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: 22.475976860965602] Failed to read output from testmodel.py, exit status != 0: 19.002996655995958 19.019037403 18.862375497 Calling exit ...