Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001875/0.001875, allocations: 73.72 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.001595/0.001595, allocations: 160.3 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.482/1.482, allocations: 177.2 MB / 204.9 MB, free: 8.984 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.1856/0.1856, allocations: 29.42 MB / 290.7 MB, free: 3.266 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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.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.002326/0.002326, allocations: 59.91 kB / 431.2 MB, free: 3.215 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3488, allocations: 62.44 MB / 493.6 MB, free: 37.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.005952/0.3548, allocations: 6.425 MB / 0.4883 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003204/0.358, allocations: 2.012 MB / 0.4903 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004125/0.3584, allocations: 35.66 kB / 0.4903 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.3597, allocations: 0.4949 MB / 0.4908 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.3609, allocations: 0.5708 MB / 0.4914 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007551/0.3616, allocations: 366.4 kB / 0.4917 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009761/0.3626, allocations: 1.292 MB / 0.493 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005662/0.3632, allocations: 0.5341 MB / 0.4935 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007634/0.3639, allocations: 0.5623 MB / 0.4941 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000939/0.3649, allocations: 0.7463 MB / 0.4948 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.365, allocations: 108.8 kB / 0.4949 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.3661, allocations: 0.6083 MB / 0.4955 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003549/0.3665, allocations: 477.4 kB / 0.4959 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004336/0.3669, allocations: 453.8 kB / 0.4964 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.3683, allocations: 1.558 MB / 0.4979 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3683, allocations: 0 / 0.4979 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3683, allocations: 7.422 kB / 0.4979 GB, free: 28.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.3683, allocations: 0 / 0.4979 GB, free: 28.97 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002845/0.3711, allocations: 1.32 MB / 0.4992 GB, free: 28.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3712, allocations: 15.73 kB / 0.4992 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008946/0.3721, allocations: 177.6 kB / 0.4994 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.3733, allocations: 0.6303 MB / 0.5 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002304/0.3735, allocations: 323.2 kB / 0.5003 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.3737, allocations: 93.3 kB / 0.5004 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.3757, allocations: 1.403 MB / 0.5018 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.3757, allocations: 3.984 kB / 0.5018 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.809e-05/0.3758, allocations: 33.25 kB / 0.5018 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001939/0.376, allocations: 86.81 kB / 0.5019 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.3783, allocations: 1.517 MB / 0.5034 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006797/0.3851, allocations: 4.03 MB / 0.5073 GB, free: 24.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.387, allocations: 1.122 MB / 0.5084 GB, free: 23.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.3882, allocations: 0.7049 MB / 0.5091 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.846e-05/0.3882, allocations: 12.02 kB / 0.5091 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.3883, allocations: 49.28 kB / 0.5091 GB, free: 23.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=101): time 4.588e-06/0.3883, allocations: 0 / 0.5091 GB, free: 23.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=102): time 0.007131/0.3954, allocations: 3.641 MB / 0.5127 GB, free: 22.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.3954, allocations: 86.14 kB / 0.5128 GB, free: 21.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.3959, allocations: 357.8 kB / 0.5131 GB, free: 21.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.982e-05/0.3959, allocations: 36.45 kB / 0.5131 GB, free: 21.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.3961, allocations: 351.9 kB / 0.5135 GB, free: 21.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.3963, allocations: 369.8 kB / 0.5138 GB, free: 21.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/0.3966, allocations: 163.6 kB / 0.514 GB, free: 21.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.3967, allocations: 372.9 kB / 0.5143 GB, free: 20.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.3977, allocations: 0.5957 MB / 0.5149 GB, free: 20.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.3988, allocations: 0.7437 MB / 0.5157 GB, free: 20.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/0.401, allocations: 1.385 MB / 0.517 GB, free: 19.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.401, allocations: 2.156 kB / 0.517 GB, free: 19.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002748/0.4037, allocations: 1.524 MB / 0.5185 GB, free: 19.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4038, allocations: 5.688 kB / 0.5185 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.4038, allocations: 4.594 kB / 0.5185 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.4039, allocations: 39.27 kB / 0.5185 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/0.4065, allocations: 0.501 MB / 0.519 GB, free: 18.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005389/0.4119, allocations: 6.184 MB / 0.5251 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008669/0.4128, allocations: 78.38 kB / 0.5252 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.16e-05/0.4129, allocations: 33.59 kB / 0.5252 GB, free: 13.47 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005217/0.4134, allocations: 325.2 kB / 0.5255 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.4136, allocations: 61.8 kB / 0.5256 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.4163, allocations: 1.514 MB / 0.527 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.55e-05/0.4164, allocations: 28.05 kB / 0.5271 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.4164, allocations: 1.562 kB / 0.5271 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.4164, allocations: 4.219 kB / 0.5271 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00449/0.4209, allocations: 2.536 MB / 0.5295 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.4209, allocations: 2.344 kB / 0.5295 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002991/0.4239, allocations: 0.5338 MB / 0.5301 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/0.424, allocations: 34.23 kB / 0.5301 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.162e-05/0.4241, allocations: 26.23 kB / 0.5301 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008601/0.4249, allocations: 1.509 MB / 0.5316 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4249, allocations: 6.031 kB / 0.5316 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003934/0.4289, allocations: 2.464 MB / 0.534 GB, free: 9.059 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.4291, allocations: 64.72 kB / 0.5341 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.4292, allocations: 25.64 kB / 0.5341 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006132/0.4298, allocations: 65.98 kB / 0.5342 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.43, allocations: 82.5 kB / 0.5342 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.36e-05/0.4301, allocations: 24.16 kB / 0.5343 GB, free: 8.973 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002621/0.4303, allocations: 246.2 kB / 0.5345 GB, free: 8.836 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4303, allocations: 1.406 kB / 0.5345 GB, free: 8.836 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001075/0.4314, allocations: 239.8 kB / 0.5347 GB, free: 8.805 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002998/0.4317, allocations: 156.1 kB / 0.5349 GB, free: 8.691 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004668/0.4364, allocations: 1.761 MB / 0.5366 GB, free: 8.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.4364, allocations: 0 / 0.5366 GB, free: 8.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003075/0.4395, allocations: 1.146 MB / 0.5377 GB, free: 7.789 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009346/0.4404, allocations: 129.7 kB / 0.5378 GB, free: 7.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.4456, allocations: 2.612 MB / 0.5404 GB, free: 6.441 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.4463, allocations: 483.2 kB / 0.5408 GB, free: 6.297 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008552/0.4472, allocations: 258.4 kB / 0.5411 GB, free: 6.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.4474, allocations: 59.66 kB / 0.5411 GB, free: 6.258 MB / 446.1 MB Notification: Performance of SimCode: time 9.51e-07/0.4474, allocations: 0 / 0.5411 GB, free: 6.258 MB / 446.1 MB Notification: Performance of Templates: time 0.01897/0.4664, allocations: 10.06 MB / 0.551 GB, free: 14.15 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.437816671910696] Failed to read output from testmodel.py, exit status != 0: 0.47616124304477125 0.49055624999999997 0.11898145799999994 Calling exit ...