Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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.001388/0.001388, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.001516/0.001516, allocations: 168.9 kB / 24.5 MB, free: 3.453 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.478/1.478, allocations: 177.2 MB / 204.9 MB, free: 9.043 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.1828/0.1828, allocations: 29.43 MB / 290.7 MB, free: 3.301 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.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") [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.002111/0.002111, allocations: 63.91 kB / 431.2 MB, free: 3.262 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3607, allocations: 62.44 MB / 493.6 MB, free: 37.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.006405/0.3671, allocations: 6.001 MB / 499.6 MB, free: 33.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.3694, allocations: 1.374 MB / 0.4893 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002456/0.3696, allocations: 35.69 kB / 0.4893 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.37, allocations: 141.4 kB / 0.4894 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007502/0.3708, allocations: 420.9 kB / 0.4898 GB, free: 32.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.3712, allocations: 189.2 kB / 0.49 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008681/0.3721, allocations: 1.095 MB / 0.4911 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/0.3724, allocations: 212.1 kB / 0.4913 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005823/0.373, allocations: 491.5 kB / 0.4918 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006938/0.3737, allocations: 0.5309 MB / 0.4923 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.462e-05/0.3737, allocations: 67.47 kB / 0.4923 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.3739, allocations: 69.34 kB / 0.4924 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.3741, allocations: 319 kB / 0.4927 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002961/0.3744, allocations: 302.2 kB / 0.493 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007321/0.3751, allocations: 0.852 MB / 0.4938 GB, free: 30.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3752, allocations: 0 / 0.4938 GB, free: 30.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3752, allocations: 0 / 0.4938 GB, free: 30.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3752, allocations: 0 / 0.4938 GB, free: 30.88 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001865/0.377, allocations: 0.9465 MB / 0.4948 GB, free: 30.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.3771, allocations: 17.23 kB / 0.4948 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.3772, allocations: 72.73 kB / 0.4948 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009307/0.3781, allocations: 0.511 MB / 0.4953 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.3783, allocations: 227 kB / 0.4956 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.752e-05/0.3784, allocations: 53.25 kB / 0.4956 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.3796, allocations: 0.7732 MB / 0.4964 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.3796, allocations: 0 / 0.4964 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/0.3797, allocations: 22.19 kB / 0.4964 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/0.3798, allocations: 36.14 kB / 0.4964 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.381, allocations: 0.72 MB / 0.4971 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003015/0.384, allocations: 2.33 MB / 0.4994 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.3854, allocations: 0.6842 MB / 0.5001 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.386, allocations: 378.7 kB / 0.5004 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.386, allocations: 7.094 kB / 0.5004 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.386, allocations: 38 kB / 0.5005 GB, free: 27.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 1.984e-06/0.386, allocations: 3.938 kB / 0.5005 GB, free: 27.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=51): time 0.003489/0.3895, allocations: 1.856 MB / 0.5023 GB, free: 26.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.3896, allocations: 84.73 kB / 0.5024 GB, free: 26.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.3899, allocations: 373.4 kB / 0.5027 GB, free: 26.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.3899, allocations: 37.73 kB / 0.5028 GB, free: 26.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3901, allocations: 295 kB / 0.503 GB, free: 25.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.3902, allocations: 186.1 kB / 0.5032 GB, free: 25.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.3903, allocations: 97.03 kB / 0.5033 GB, free: 25.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.3904, allocations: 356.9 kB / 0.5036 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/0.3909, allocations: 279 kB / 0.5039 GB, free: 25.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.3914, allocations: 381.2 kB / 0.5043 GB, free: 25.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.3924, allocations: 0.6429 MB / 0.5049 GB, free: 24.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3924, allocations: 3.031 kB / 0.5049 GB, free: 24.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001314/0.3938, allocations: 0.795 MB / 0.5057 GB, free: 24.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3938, allocations: 10.47 kB / 0.5057 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3938, allocations: 3.25 kB / 0.5057 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/0.394, allocations: 76.09 kB / 0.5058 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.3955, allocations: 307.3 kB / 0.5061 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00459/0.4001, allocations: 6.023 MB / 0.5119 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005065/0.4006, allocations: 47.08 kB / 0.512 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.4006, allocations: 18.31 kB / 0.512 GB, free: 18.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003834/0.401, allocations: 241.9 kB / 0.5122 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/0.4011, allocations: 53.45 kB / 0.5123 GB, free: 18.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.4024, allocations: 0.7442 MB / 0.513 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4024, allocations: 5.406 kB / 0.513 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4025, allocations: 10.69 kB / 0.513 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4025, allocations: 0 / 0.513 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.4051, allocations: 1.425 MB / 0.5144 GB, free: 17.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.4051, allocations: 6.719 kB / 0.5144 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/0.4068, allocations: 324.3 kB / 0.5147 GB, free: 17.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002673/0.407, allocations: 95.05 kB / 0.5148 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.4071, allocations: 17.88 kB / 0.5148 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.4089, allocations: 2.914 MB / 0.5177 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4089, allocations: 2.75 kB / 0.5177 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.4111, allocations: 1.234 MB / 0.5189 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.4113, allocations: 51.28 kB / 0.5189 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/0.4113, allocations: 14 kB / 0.519 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.4117, allocations: 36.31 kB / 0.519 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.4119, allocations: 47.89 kB / 0.519 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.4119, allocations: 18.83 kB / 0.5191 GB, free: 14.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003503/0.4123, allocations: 254.8 kB / 0.5193 GB, free: 14.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4123, allocations: 0 / 0.5193 GB, free: 14.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007673/0.4131, allocations: 151.3 kB / 0.5194 GB, free: 14.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001293/0.4132, allocations: 110.7 kB / 0.5195 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002698/0.4159, allocations: 1.06 MB / 0.5206 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.4159, allocations: 1.281 kB / 0.5206 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001962/0.4179, allocations: 0.7812 MB / 0.5213 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007267/0.4186, allocations: 134.5 kB / 0.5215 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/0.4217, allocations: 1.597 MB / 0.523 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.4221, allocations: 349.1 kB / 0.5234 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003805/0.4225, allocations: 124.8 kB / 0.5235 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.4227, allocations: 44.19 kB / 0.5235 GB, free: 12.24 MB / 446.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4227, allocations: 0 / 0.5235 GB, free: 12.24 MB / 446.1 MB Notification: Performance of Templates: time 0.0174/0.4401, allocations: 7.407 MB / 0.5308 GB, free: 11.43 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.167450275970623] Failed to read output from testmodel.py, exit status != 0: 0.4502549800090492 0.463701061 0.08568462 Calling exit ...