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.001417/0.001417, allocations: 109.2 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.455/1.455, allocations: 230.6 MB / 252.7 MB, free: 8.293 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.001567/0.001567, allocations: 219.5 kB / 309.2 MB, free: 3.18 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.4366/0.4366, allocations: 79.74 MB / 445.4 MB, free: 14.85 MB / 318.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_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.002598/0.002598, allocations: 83.88 kB / 0.593 GB, free: 13.92 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1351, allocations: 73.29 MB / 0.6645 GB, free: 4.512 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.008116/0.1433, allocations: 6.509 MB / 0.6709 GB, free: 13.97 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004141/0.1474, allocations: 1.962 MB / 0.6728 GB, free: 12 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009075/0.1483, allocations: 15.94 kB / 0.6728 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007479/0.1491, allocations: 230 kB / 0.673 GB, free: 11.76 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.1512, allocations: 0.7833 MB / 0.6738 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.1527, allocations: 0.6366 MB / 0.6744 GB, free: 10.35 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00198/0.1547, allocations: 1.436 MB / 0.6758 GB, free: 8.906 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004815/0.1552, allocations: 232.8 kB / 0.676 GB, free: 8.668 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000953/0.1561, allocations: 0.6107 MB / 0.6766 GB, free: 8.055 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009717/0.1571, allocations: 0.7387 MB / 0.6774 GB, free: 7.312 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.1573, allocations: 100 kB / 0.6775 GB, free: 7.215 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.1577, allocations: 263.8 kB / 0.6777 GB, free: 6.957 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.158, allocations: 278.8 kB / 0.678 GB, free: 6.684 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006002/0.1586, allocations: 0.6329 MB / 0.6786 GB, free: 6.047 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.1604, allocations: 1.54 MB / 0.6801 GB, free: 4.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1604, allocations: 0 / 0.6801 GB, free: 4.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1604, allocations: 0 / 0.6801 GB, free: 4.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.465e-05/0.1604, allocations: 0 / 0.6801 GB, free: 4.5 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.008188/0.1686, allocations: 2.561 MB / 0.6826 GB, free: 1.898 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1687, allocations: 11.98 kB / 0.6826 GB, free: 1.887 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/0.1688, allocations: 134.8 kB / 0.6827 GB, free: 1.746 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005376/0.1742, allocations: 0.8147 MB / 0.6835 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.1756, allocations: 0.7209 MB / 0.6842 GB, free: 168 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003608/0.176, allocations: 311.6 kB / 0.6845 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.1761, allocations: 79.95 kB / 0.6846 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.1785, allocations: 1.096 MB / 0.6857 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.1786, allocations: 3.984 kB / 0.6857 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.1787, allocations: 32 kB / 0.6857 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.1787, allocations: 19.94 kB / 0.6857 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/0.1813, allocations: 1.124 MB / 0.6868 GB, free: 13.45 MB / 494.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.006236/0.1875, allocations: 3.399 MB / 0.6902 GB, free: 9.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/0.1896, allocations: 0.8928 MB / 0.691 GB, free: 9.012 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.1912, allocations: 0.7109 MB / 0.6917 GB, free: 8.293 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.1914, allocations: 16.97 kB / 0.6917 GB, free: 8.277 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.1914, allocations: 43.56 kB / 0.6918 GB, free: 8.227 MB / 494.1 MB Notification: Performance of pre-optimization done (n=97): time 3.156e-06/0.1914, allocations: 0 / 0.6918 GB, free: 8.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=97): time 0.02575/0.2172, allocations: 6.498 MB / 0.6981 GB, free: 1.715 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.2172, allocations: 68.39 kB / 0.6982 GB, free: 1.637 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.2185, allocations: 0.9048 MB / 0.6991 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001866/0.2187, allocations: 45.7 kB / 0.6991 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004208/0.2191, allocations: 0.4976 MB / 0.6996 GB, free: 164 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2559/0.475, allocations: 361 kB / 0.6999 GB, free: 33.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004009/0.4754, allocations: 201.1 kB / 0.7001 GB, free: 33.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.4755, allocations: 353.9 kB / 0.7005 GB, free: 33.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.477, allocations: 0.7209 MB / 0.7012 GB, free: 33.15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.4786, allocations: 0.8501 MB / 0.702 GB, free: 33.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01868/0.4972, allocations: 4.935 MB / 0.7068 GB, free: 32.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.4973, allocations: 5.531 kB / 0.7068 GB, free: 32.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01369/0.5109, allocations: 4.248 MB / 0.711 GB, free: 32.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.511, allocations: 5.812 kB / 0.711 GB, free: 32.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.511, allocations: 3.047 kB / 0.711 GB, free: 32.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006407/0.5174, allocations: 1.811 MB / 0.7128 GB, free: 32.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.5184, allocations: 209.1 kB / 0.713 GB, free: 32.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01988/0.5383, allocations: 9.222 MB / 0.722 GB, free: 27.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.5397, allocations: 175.8 kB / 0.7221 GB, free: 27.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.5398, allocations: 43.91 kB / 0.7222 GB, free: 27.89 MB / 494.1 MB 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.0003945/0.5402, allocations: 240.4 kB / 0.7224 GB, free: 27.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.5403, allocations: 140.3 kB / 0.7225 GB, free: 27.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/0.5526, allocations: 3.976 MB / 0.7264 GB, free: 26.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.5526, allocations: 9.438 kB / 0.7264 GB, free: 26.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5526, allocations: 0.7656 kB / 0.7264 GB, free: 26.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.5526, allocations: 11.91 kB / 0.7264 GB, free: 26.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.566, allocations: 5.555 MB / 0.7319 GB, free: 23.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.566, allocations: 0.75 kB / 0.7319 GB, free: 23.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006204/0.5666, allocations: 128.7 kB / 0.732 GB, free: 23.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005177/0.5718, allocations: 1.747 MB / 0.7337 GB, free: 22.26 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-05/0.5719, allocations: 23.86 kB / 0.7337 GB, free: 22.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/0.5874, allocations: 7.983 MB / 0.7415 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5874, allocations: 0 / 0.7415 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/0.6006, allocations: 4.942 MB / 0.7463 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.6009, allocations: 136.2 kB / 0.7465 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.601, allocations: 18.31 kB / 0.7465 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000958/0.602, allocations: 107.9 kB / 0.7466 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005615/0.6026, allocations: 224.6 kB / 0.7468 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.888e-05/0.6026, allocations: 25.5 kB / 0.7468 GB, free: 9.898 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005807/0.6032, allocations: 0.6051 MB / 0.7474 GB, free: 9.285 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6032, allocations: 0 / 0.7474 GB, free: 9.285 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001073/0.6043, allocations: 442.9 kB / 0.7478 GB, free: 8.867 MB / 494.1 MB 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.0134/0.6177, allocations: 5.524 MB / 0.7532 GB, free: 3.312 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005881/0.6236, allocations: 2.383 MB / 0.7556 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6236, allocations: 0 / 0.7556 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004434/0.628, allocations: 1.532 MB / 0.7571 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007245/0.6287, allocations: 92.91 kB / 0.7572 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03913/0.6679, allocations: 15.34 MB / 0.7721 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007464/0.6686, allocations: 1.099 MB / 0.7732 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003637/0.669, allocations: 91.44 kB / 0.7733 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006186/0.6696, allocations: 451.3 kB / 0.7737 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of SimCode: time 8.42e-07/0.6696, allocations: 0 / 0.7737 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.079/0.7486, allocations: 35.12 MB / 0.808 GB, free: 11.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.44/19.19, allocations: 10.56 kB / 0.808 GB, free: 11.18 MB / 0.545 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 os._exit(0), Time elapsed: 33.524343125056475] Failed to read output from testmodel.py, exit status != 0: 19.322151568019763 19.346257721 19.181256017 Calling exit ...