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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 113.3 kB / 17.29 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002274/0.002274, allocations: 197.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.56/2.56, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3609/0.3609, allocations: 38.02 MB / 330 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002601/0.002601, allocations: 67.94 kB / 398.9 MB, free: 34.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1682, allocations: 58.06 MB / 457 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.01689/0.1851, allocations: 7.518 MB / 464.5 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007787/0.193, allocations: 2.352 MB / 466.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.1944, allocations: 39.75 kB / 466.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.197, allocations: 490 kB / 467.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002698/0.1997, allocations: 0.5214 MB / 467.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.2014, allocations: 319.5 kB / 468.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002714/0.2042, allocations: 1.29 MB / 469.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.2061, allocations: 0.7636 MB / 470.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.2078, allocations: 0.545 MB / 470.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.2098, allocations: 0.7713 MB / 471.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003543/0.2101, allocations: 108 kB / 471.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.2123, allocations: 0.6435 MB / 472.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00096/0.2132, allocations: 486.8 kB / 472.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.2145, allocations: 0.529 MB / 473.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002496/0.217, allocations: 1.177 MB / 474.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.2171, allocations: 0 / 474.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.2171, allocations: 0 / 474.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.134e-05/0.2171, allocations: 0 / 474.5 MB, free: 6.777 MB / 350.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.006964/0.2241, allocations: 1.379 MB / 475.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.832e-05/0.2242, allocations: 11.89 kB / 475.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.2257, allocations: 143.7 kB / 476.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.2281, allocations: 0.6571 MB / 476.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003747/0.2285, allocations: 175.6 kB / 476.9 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003542/0.2289, allocations: 87.92 kB / 477 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004344/0.2333, allocations: 1.406 MB / 478.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.151e-05/0.2333, allocations: 0 / 478.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.2335, allocations: 31.98 kB / 478.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003806/0.2339, allocations: 81.95 kB / 478.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005772/0.2397, allocations: 1.522 MB / 480 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/0.2547, allocations: 4.439 MB / 484.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004338/0.2591, allocations: 1.186 MB / 485.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/0.2617, allocations: 0.7773 MB / 486.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.2619, allocations: 20.62 kB / 486.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.379e-05/0.262, allocations: 43.22 kB / 486.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 8.817e-06/0.262, allocations: 0 / 486.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.01374/0.2758, allocations: 3.85 MB / 490.3 MB, free: 6.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/0.2759, allocations: 90.11 kB / 490.4 MB, free: 6.477 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008643/0.2768, allocations: 397.9 kB / 490.8 MB, free: 6.078 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001987/0.277, allocations: 41.69 kB / 490.8 MB, free: 6.031 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.2774, allocations: 344.3 kB / 491.2 MB, free: 5.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005957/0.2781, allocations: 350.8 kB / 491.5 MB, free: 5.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005954/0.2787, allocations: 166.6 kB / 491.7 MB, free: 5.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002555/0.279, allocations: 386.6 kB / 492.1 MB, free: 4.785 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.281, allocations: 0.5914 MB / 492.6 MB, free: 4.191 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/0.2834, allocations: 0.7424 MB / 493.4 MB, free: 3.402 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004386/0.2878, allocations: 1.387 MB / 494.8 MB, free: 1.969 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/0.2879, allocations: 4 kB / 494.8 MB, free: 1.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00535/0.2932, allocations: 1.603 MB / 496.4 MB, free: 340 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.2933, allocations: 4 kB / 496.4 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/0.2934, allocations: 4 kB / 496.4 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00029/0.2937, allocations: 41.03 kB / 496.4 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004664/0.2983, allocations: 0.4993 MB / 496.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.3098, allocations: 6.686 MB / 0.4918 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.3112, allocations: 87.89 kB / 0.4919 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003581/0.3116, allocations: 35.98 kB / 0.4919 GB, free: 8.418 MB / 382.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.001157/0.3128, allocations: 313.5 kB / 0.4922 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005033/0.3133, allocations: 63.23 kB / 0.4923 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005409/0.3187, allocations: 1.596 MB / 0.4938 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.251e-05/0.3189, allocations: 27.94 kB / 0.4939 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/0.3189, allocations: 4 kB / 0.4939 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.603e-05/0.3189, allocations: 7.969 kB / 0.4939 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.329, allocations: 2.869 MB / 0.4967 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.94e-05/0.3292, allocations: 4 kB / 0.4967 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004637/0.3338, allocations: 0.5346 MB / 0.4972 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003114/0.3342, allocations: 48.84 kB / 0.4973 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002667/0.3345, allocations: 16 kB / 0.4973 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00235/0.3369, allocations: 1.63 MB / 0.4989 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.3369, allocations: 4.031 kB / 0.4989 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008256/0.3452, allocations: 2.546 MB / 0.5014 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/0.3456, allocations: 128.4 kB / 0.5015 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000333/0.346, allocations: 19.98 kB / 0.5015 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.3472, allocations: 71.91 kB / 0.5016 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003972/0.3477, allocations: 84.42 kB / 0.5016 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.3479, allocations: 20 kB / 0.5017 GB, free: 14.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006752/0.3485, allocations: 283.1 kB / 0.5019 GB, free: 13.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.3486, allocations: 0 / 0.5019 GB, free: 13.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001953/0.3505, allocations: 240 kB / 0.5022 GB, free: 13.57 MB / 398.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.0006653/0.3512, allocations: 168.3 kB / 0.5023 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009868/0.3611, allocations: 2.333 MB / 0.5046 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.66e-05/0.3612, allocations: 0 / 0.5046 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005001/0.3662, allocations: 1.186 MB / 0.5058 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.3682, allocations: 171.6 kB / 0.5059 GB, free: 9.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009331/0.3776, allocations: 3.04 MB / 0.5089 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/0.3791, allocations: 1.076 MB / 0.5099 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008308/0.38, allocations: 67.42 kB / 0.51 GB, free: 5.422 MB / 398.1 MB Notification: Performance of SimCode: time 2.625e-06/0.38, allocations: 0 / 0.51 GB, free: 5.422 MB / 398.1 MB Notification: Performance of Templates: time 0.3744/0.7544, allocations: 23.84 MB / 0.5333 GB, free: 63.52 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (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)