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.001384/0.001384, allocations: 107.6 kB / 21.19 MB, free: 0.668 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.00153/0.00153, allocations: 207.5 kB / 24.48 MB, free: 3.977 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.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.1863/0.1863, allocations: 38.55 MB / 353.2 MB, free: 12.39 MB / 286.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.003472/0.003472, allocations: 67.89 kB / 493.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.337, allocations: 62.46 MB / 0.5432 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008809/0.3458, allocations: 6.417 MB / 0.5494 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004183/0.35, allocations: 2.025 MB / 0.5514 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004489/0.3505, allocations: 32.5 kB / 0.5514 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.352, allocations: 0.4957 MB / 0.5519 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.3535, allocations: 0.5662 MB / 0.5525 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.3545, allocations: 367.9 kB / 0.5528 GB, free: 8.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001723/0.3562, allocations: 1.295 MB / 0.5541 GB, free: 8.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008618/0.3571, allocations: 0.5269 MB / 0.5546 GB, free: 7.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.3581, allocations: 0.564 MB / 0.5552 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.3593, allocations: 0.7458 MB / 0.5559 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002177/0.3595, allocations: 109.4 kB / 0.556 GB, free: 7.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.3607, allocations: 0.5987 MB / 0.5566 GB, free: 6.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005236/0.3613, allocations: 498.8 kB / 0.557 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005579/0.3618, allocations: 454.2 kB / 0.5575 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.3637, allocations: 1.549 MB / 0.559 GB, free: 3.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3637, allocations: 0 / 0.559 GB, free: 3.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3637, allocations: 3.938 kB / 0.559 GB, free: 3.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.3637, allocations: 0 / 0.559 GB, free: 3.934 MB / 398.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.003163/0.3669, allocations: 1.314 MB / 0.5603 GB, free: 2.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3669, allocations: 11.98 kB / 0.5603 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009245/0.3678, allocations: 180.2 kB / 0.5605 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.3694, allocations: 0.6306 MB / 0.5611 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000347/0.3698, allocations: 337.8 kB / 0.5614 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.37, allocations: 79.94 kB / 0.5615 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/0.3725, allocations: 1.41 MB / 0.5629 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.3725, allocations: 7.938 kB / 0.5629 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.493e-05/0.3726, allocations: 32 kB / 0.5629 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00023/0.3729, allocations: 81.94 kB / 0.563 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002839/0.3757, allocations: 1.511 MB / 0.5644 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007385/0.3831, allocations: 4.001 MB / 0.5684 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.3855, allocations: 1.111 MB / 0.5694 GB, free: 8.961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.3869, allocations: 0.7036 MB / 0.5701 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.37e-05/0.387, allocations: 16.64 kB / 0.5701 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.387, allocations: 39.22 kB / 0.5702 GB, free: 8.188 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 3.848e-06/0.387, allocations: 0 / 0.5702 GB, free: 8.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.007222/0.3943, allocations: 3.638 MB / 0.5737 GB, free: 4.512 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.3943, allocations: 90.11 kB / 0.5738 GB, free: 4.406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.3948, allocations: 357.5 kB / 0.5742 GB, free: 4.051 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.405e-05/0.3948, allocations: 41.7 kB / 0.5742 GB, free: 4.004 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.3951, allocations: 353 kB / 0.5745 GB, free: 3.652 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.3954, allocations: 372.8 kB / 0.5749 GB, free: 3.285 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002761/0.3957, allocations: 158.7 kB / 0.575 GB, free: 3.125 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3959, allocations: 374.8 kB / 0.5754 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.397, allocations: 0.5914 MB / 0.576 GB, free: 2.156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.3982, allocations: 0.7503 MB / 0.5767 GB, free: 1.363 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002336/0.4005, allocations: 1.383 MB / 0.5781 GB, free: 15.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.4005, allocations: 4 kB / 0.5781 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002827/0.4033, allocations: 1.521 MB / 0.5795 GB, free: 14.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4034, allocations: 4 kB / 0.5795 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.4034, allocations: 4 kB / 0.5796 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001656/0.4035, allocations: 48.75 kB / 0.5796 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/0.406, allocations: 0.4954 MB / 0.5801 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006888/0.4129, allocations: 6.181 MB / 0.5861 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008132/0.4137, allocations: 84.08 kB / 0.5862 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.843e-05/0.4138, allocations: 27.98 kB / 0.5862 GB, free: 7.145 MB / 430.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.0005209/0.4144, allocations: 325.4 kB / 0.5865 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.4145, allocations: 63.61 kB / 0.5866 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/0.4174, allocations: 1.513 MB / 0.5881 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-05/0.4174, allocations: 31.92 kB / 0.5881 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4174, allocations: 4 kB / 0.5881 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.4174, allocations: 3.984 kB / 0.5881 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004704/0.4221, allocations: 2.52 MB / 0.5906 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.4221, allocations: 0 / 0.5906 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002869/0.425, allocations: 0.5424 MB / 0.5911 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/0.4251, allocations: 32.84 kB / 0.5911 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/0.4252, allocations: 20 kB / 0.5912 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.4266, allocations: 1.508 MB / 0.5926 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.4266, allocations: 7.938 kB / 0.5926 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0042/0.4308, allocations: 2.46 MB / 0.595 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.4309, allocations: 63.52 kB / 0.5951 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.4311, allocations: 27.92 kB / 0.5951 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005967/0.4317, allocations: 75.91 kB / 0.5952 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.4318, allocations: 76.52 kB / 0.5953 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.017e-05/0.4319, allocations: 24 kB / 0.5953 GB, free: 13.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000288/0.4322, allocations: 243.2 kB / 0.5955 GB, free: 13.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4322, allocations: 3.938 kB / 0.5955 GB, free: 13.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008994/0.4331, allocations: 235.9 kB / 0.5958 GB, free: 13.16 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.000325/0.4334, allocations: 164.8 kB / 0.5959 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004353/0.4378, allocations: 1.751 MB / 0.5976 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.4378, allocations: 0 / 0.5976 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002881/0.4407, allocations: 1.128 MB / 0.5987 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008321/0.4415, allocations: 132.1 kB / 0.5988 GB, free: 9.953 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/0.4468, allocations: 2.704 MB / 0.6015 GB, free: 7.199 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.4473, allocations: 490 kB / 0.602 GB, free: 6.695 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.4477, allocations: 67.42 kB / 0.602 GB, free: 6.629 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4477, allocations: 0 / 0.602 GB, free: 6.629 MB / 446.1 MB Notification: Performance of Templates: time 0.03196/0.4797, allocations: 24.02 MB / 0.6255 GB, free: 14.59 MB / 478.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.640454558189958] Failed to read output from testmodel.py, exit status != 0: 0.49237908609211445 0.5037601110000001 0.136878359 Calling exit ...