Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.001819/0.001819, allocations: 69.64 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] 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.001949/0.001949, allocations: 160.9 kB / 24.5 MB, free: 3.715 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.481/1.481, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1781/0.1781, allocations: 29.42 MB / 290.7 MB, free: 3.258 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") [Timeout 660] "Notification: PowerSystems 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.003356/0.003356, allocations: 67.91 kB / 431.2 MB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4054, allocations: 62.44 MB / 493.6 MB, free: 37.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.006124/0.4116, allocations: 4.691 MB / 498.3 MB, free: 34.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.4137, allocations: 1.401 MB / 499.7 MB, free: 33.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004112/0.4141, allocations: 24.28 kB / 499.8 MB, free: 33.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000449/0.4146, allocations: 104.9 kB / 499.9 MB, free: 33.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008045/0.4154, allocations: 269.2 kB / 0.4884 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.4158, allocations: 139.7 kB / 0.4885 GB, free: 33.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008281/0.4167, allocations: 0.5877 MB / 0.4891 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004247/0.4171, allocations: 288.2 kB / 0.4894 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004185/0.4175, allocations: 255.7 kB / 0.4896 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003415/0.4178, allocations: 223.3 kB / 0.4898 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.629e-05/0.4179, allocations: 37.22 kB / 0.4899 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.293e-05/0.418, allocations: 39.62 kB / 0.4899 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.4181, allocations: 130.2 kB / 0.49 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.4183, allocations: 174.1 kB / 0.4902 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.4188, allocations: 0.5099 MB / 0.4907 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4188, allocations: 0 / 0.4907 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4188, allocations: 3.938 kB / 0.4907 GB, free: 32.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.4188, allocations: 3.25 kB / 0.4907 GB, free: 32.41 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001154/0.42, allocations: 0.6433 MB / 0.4913 GB, free: 31.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.42, allocations: 17.7 kB / 0.4913 GB, free: 31.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/0.4201, allocations: 46.62 kB / 0.4914 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.4206, allocations: 356.3 kB / 0.4917 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.702e-05/0.4207, allocations: 88.31 kB / 0.4918 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/0.4208, allocations: 34.44 kB / 0.4918 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005788/0.4214, allocations: 432.5 kB / 0.4923 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.4214, allocations: 7.281 kB / 0.4923 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.4214, allocations: 10.69 kB / 0.4923 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.4214, allocations: 9.156 kB / 0.4923 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.4219, allocations: 274.5 kB / 0.4925 GB, free: 31.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.4237, allocations: 1.627 MB / 0.4941 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.424, allocations: 168.5 kB / 0.4943 GB, free: 29.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.4241, allocations: 75.17 kB / 0.4944 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.4242, allocations: 0 / 0.4944 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.4242, allocations: 40.98 kB / 0.4944 GB, free: 29.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.4242, allocations: 0 / 0.4944 GB, free: 29.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001345/0.4255, allocations: 0.6351 MB / 0.495 GB, free: 29.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.4256, allocations: 113.8 kB / 0.4951 GB, free: 29.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.4259, allocations: 301.6 kB / 0.4954 GB, free: 28.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.4259, allocations: 32.95 kB / 0.4955 GB, free: 28.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.426, allocations: 250.4 kB / 0.4957 GB, free: 28.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.4261, allocations: 71.31 kB / 0.4958 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.409e-05/0.4262, allocations: 68.88 kB / 0.4958 GB, free: 28.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.049e-05/0.4263, allocations: 339.1 kB / 0.4962 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.4265, allocations: 73.91 kB / 0.4962 GB, free: 28.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.4267, allocations: 199.2 kB / 0.4964 GB, free: 28.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.427, allocations: 295 kB / 0.4967 GB, free: 27.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.427, allocations: 2.969 kB / 0.4967 GB, free: 27.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005038/0.4275, allocations: 329 kB / 0.497 GB, free: 27.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4276, allocations: 6.156 kB / 0.497 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.4276, allocations: 13.59 kB / 0.497 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.4276, allocations: 6.25 kB / 0.497 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.4279, allocations: 80.72 kB / 0.4971 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.4279, allocations: 10.25 kB / 0.4971 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.4281, allocations: 10.19 kB / 0.4971 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.4281, allocations: 16.44 kB / 0.4971 GB, free: 27.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001783/0.4283, allocations: 183.8 kB / 0.4973 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.4283, allocations: 28.16 kB / 0.4973 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/0.4287, allocations: 201.9 kB / 0.4975 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4287, allocations: 3.094 kB / 0.4975 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4287, allocations: 0 / 0.4975 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.4288, allocations: 3.188 kB / 0.4975 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007794/0.4295, allocations: 0.5069 MB / 0.498 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4295, allocations: 0 / 0.498 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.4298, allocations: 47.36 kB / 0.4981 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4298, allocations: 3.344 kB / 0.4981 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4298, allocations: 3.938 kB / 0.4981 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.4298, allocations: 3.281 kB / 0.4981 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4298, allocations: 0 / 0.4981 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.4303, allocations: 448.1 kB / 0.4985 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.4303, allocations: 22.31 kB / 0.4985 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.4304, allocations: 10.5 kB / 0.4986 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.4306, allocations: 7.062 kB / 0.4986 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.4306, allocations: 20.75 kB / 0.4986 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.4307, allocations: 5.969 kB / 0.4986 GB, free: 26.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.4308, allocations: 200.1 kB / 0.4988 GB, free: 26.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4308, allocations: 0 / 0.4988 GB, free: 26.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004713/0.4313, allocations: 64.44 kB / 0.4988 GB, free: 26.56 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001037/0.4314, allocations: 107.6 kB / 0.4989 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003964/0.4318, allocations: 203.5 kB / 0.4991 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4318, allocations: 0 / 0.4991 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.432, allocations: 82.72 kB / 0.4992 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006321/0.4326, allocations: 84.28 kB / 0.4993 GB, free: 26.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.4339, allocations: 0.8801 MB / 0.5002 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.4341, allocations: 217.5 kB / 0.5004 GB, free: 25.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.4342, allocations: 48.84 kB / 0.5004 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.4343, allocations: 27.5 kB / 0.5004 GB, free: 25.61 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4343, allocations: 0 / 0.5004 GB, free: 25.61 MB / 446.1 MB Notification: Performance of Templates: time 0.00707/0.4414, allocations: 2.962 MB / 0.5033 GB, free: 25.22 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.008933651028201] Failed to read output from testmodel.py, exit status != 0: 0.45283466996625066 0.46159355799999996 0.039630977000000005 Calling exit ...