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.001609/0.001609, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001804/0.001804, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.418/1.418, allocations: 230.6 MB / 258.3 MB, free: 7.969 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.1798/0.1798, allocations: 38.52 MB / 353.2 MB, free: 12.54 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.002001/0.002001, allocations: 67.91 kB / 493.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2834, allocations: 62.46 MB / 0.5432 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008366/0.2917, allocations: 6.889 MB / 0.55 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003856/0.2956, allocations: 2.19 MB / 0.5521 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003652/0.2959, allocations: 38.47 kB / 0.5521 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.2974, allocations: 0.519 MB / 0.5526 GB, free: 9.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.2986, allocations: 0.5656 MB / 0.5532 GB, free: 8.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008924/0.2995, allocations: 363.8 kB / 0.5535 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.301, allocations: 1.303 MB / 0.5548 GB, free: 7.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007517/0.3017, allocations: 0.5306 MB / 0.5553 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009157/0.3027, allocations: 0.5646 MB / 0.5559 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.3037, allocations: 0.7773 MB / 0.5566 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.3039, allocations: 105.2 kB / 0.5567 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.305, allocations: 0.6437 MB / 0.5574 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004775/0.3055, allocations: 486.8 kB / 0.5578 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005769/0.306, allocations: 0.5289 MB / 0.5583 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.3078, allocations: 1.538 MB / 0.5598 GB, free: 3.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3078, allocations: 0 / 0.5598 GB, free: 3.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3078, allocations: 0 / 0.5598 GB, free: 3.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.3078, allocations: 0 / 0.5598 GB, free: 3.402 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.002911/0.3107, allocations: 1.324 MB / 0.5611 GB, free: 2.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3107, allocations: 11.98 kB / 0.5612 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008397/0.3116, allocations: 184.1 kB / 0.5613 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.3129, allocations: 0.6229 MB / 0.5619 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/0.3133, allocations: 329.8 kB / 0.5623 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.3135, allocations: 95.92 kB / 0.5623 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/0.3158, allocations: 1.406 MB / 0.5637 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.3158, allocations: 15.92 kB / 0.5637 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.29e-05/0.3159, allocations: 24 kB / 0.5638 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002123/0.3161, allocations: 85.95 kB / 0.5638 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.3188, allocations: 1.515 MB / 0.5653 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007198/0.326, allocations: 4.348 MB / 0.5696 GB, free: 9.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.3282, allocations: 1.126 MB / 0.5707 GB, free: 8.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.3295, allocations: 0.7075 MB / 0.5713 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.39e-05/0.3296, allocations: 12.66 kB / 0.5714 GB, free: 7.309 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.3296, allocations: 39.22 kB / 0.5714 GB, free: 7.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 2.986e-06/0.3296, allocations: 4 kB / 0.5714 GB, free: 7.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.006865/0.3365, allocations: 3.65 MB / 0.575 GB, free: 3.574 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.3365, allocations: 90.05 kB / 0.5751 GB, free: 3.469 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/0.337, allocations: 401.9 kB / 0.5754 GB, free: 3.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/0.3371, allocations: 37.7 kB / 0.5755 GB, free: 3.027 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.3373, allocations: 357.1 kB / 0.5758 GB, free: 2.672 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003235/0.3376, allocations: 364.8 kB / 0.5762 GB, free: 2.312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.3379, allocations: 166.6 kB / 0.5763 GB, free: 2.145 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.3381, allocations: 386.8 kB / 0.5767 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.3392, allocations: 0.5875 MB / 0.5773 GB, free: 1.168 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.3404, allocations: 0.7425 MB / 0.578 GB, free: 388 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002351/0.3428, allocations: 1.391 MB / 0.5793 GB, free: 14.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3428, allocations: 4 kB / 0.5793 GB, free: 14.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002816/0.3456, allocations: 1.513 MB / 0.5808 GB, free: 13.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3456, allocations: 8 kB / 0.5808 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3456, allocations: 12.12 kB / 0.5808 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/0.3458, allocations: 36.84 kB / 0.5809 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002463/0.3482, allocations: 0.4915 MB / 0.5814 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007018/0.3553, allocations: 6.28 MB / 0.5875 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000801/0.3561, allocations: 79.89 kB / 0.5876 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.522e-05/0.3561, allocations: 32 kB / 0.5876 GB, free: 6.02 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.0005114/0.3567, allocations: 321.4 kB / 0.5879 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.3568, allocations: 75.59 kB / 0.588 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.3597, allocations: 1.513 MB / 0.5895 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.624e-05/0.3598, allocations: 23.98 kB / 0.5895 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3598, allocations: 0 / 0.5895 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.3598, allocations: 3.984 kB / 0.5895 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004945/0.3647, allocations: 2.773 MB / 0.5922 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3647, allocations: 3.938 kB / 0.5922 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002749/0.3675, allocations: 0.5346 MB / 0.5927 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/0.3676, allocations: 36.83 kB / 0.5928 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.98e-05/0.3677, allocations: 23.98 kB / 0.5928 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.369, allocations: 1.534 MB / 0.5943 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/0.369, allocations: 12.06 kB / 0.5943 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004336/0.3733, allocations: 2.456 MB / 0.5967 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.3735, allocations: 67.45 kB / 0.5967 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.3736, allocations: 20 kB / 0.5968 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005901/0.3742, allocations: 75.91 kB / 0.5968 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/0.3744, allocations: 80.44 kB / 0.5969 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/0.3745, allocations: 32 kB / 0.5969 GB, free: 12.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003486/0.3748, allocations: 279.1 kB / 0.5972 GB, free: 11.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3748, allocations: 0 / 0.5972 GB, free: 11.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009019/0.3757, allocations: 243.9 kB / 0.5974 GB, free: 11.68 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.0003491/0.3761, allocations: 155 kB / 0.5976 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00448/0.3806, allocations: 1.755 MB / 0.5993 GB, free: 9.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3806, allocations: 0.5625 kB / 0.5993 GB, free: 9.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002899/0.3835, allocations: 1.127 MB / 0.6004 GB, free: 8.605 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009263/0.3844, allocations: 144.5 kB / 0.6005 GB, free: 8.469 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005241/0.3896, allocations: 2.717 MB / 0.6032 GB, free: 5.691 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008395/0.3905, allocations: 1.087 MB / 0.6043 GB, free: 4.578 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003742/0.3908, allocations: 67.42 kB / 0.6043 GB, free: 4.512 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3908, allocations: 3.938 kB / 0.6043 GB, free: 4.508 MB / 446.1 MB Notification: Performance of Templates: time 0.03182/0.4227, allocations: 24.18 MB / 0.6279 GB, free: 12.32 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.390496106119826] Failed to read output from testmodel.py, exit status != 0: 0.4319645930081606 0.44653125299999996 0.13557797600000002 Calling exit ...