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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 92.53 kB / 16.3 MB, free: 5.59 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.001038/0.001038, allocations: 187.4 kB / 17.2 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 223.3 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1845/0.1845, allocations: 38.03 MB / 309.7 MB, free: 6.141 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006107/0.0006111, allocations: 19.12 kB / 376.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.359, allocations: 56.33 MB / 432.8 MB, free: 18.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.00596/0.365, allocations: 6.032 MB / 438.8 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.3674, allocations: 1.662 MB / 440.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003278/0.3677, allocations: 35.75 kB / 440.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.3682, allocations: 139.1 kB / 440.7 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006564/0.3688, allocations: 330.9 kB / 441 MB, free: 10.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.3692, allocations: 191.6 kB / 441.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005488/0.3698, allocations: 0.5458 MB / 441.7 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003434/0.3702, allocations: 243.6 kB / 442 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003684/0.3705, allocations: 322.9 kB / 442.3 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004567/0.371, allocations: 358.9 kB / 442.6 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.779e-05/0.3711, allocations: 32 kB / 442.7 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.275e-05/0.3712, allocations: 32 kB / 442.7 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.3714, allocations: 259.3 kB / 442.9 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.3715, allocations: 145.4 kB / 443.1 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.372, allocations: 0.6351 MB / 443.7 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.372, allocations: 0 / 443.7 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.372, allocations: 0 / 443.7 MB, free: 7.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.372, allocations: 0 / 443.7 MB, free: 7.906 MB / 318.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.001834/0.3739, allocations: 0.9022 MB / 444.6 MB, free: 6.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.3739, allocations: 12.02 kB / 444.6 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.3741, allocations: 83.05 kB / 444.7 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008833/0.375, allocations: 0.5292 MB / 445.2 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.3751, allocations: 120.7 kB / 445.4 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.723e-05/0.3752, allocations: 55.91 kB / 445.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.3764, allocations: 0.7849 MB / 446.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.3764, allocations: 0 / 446.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/0.3765, allocations: 24 kB / 446.2 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.3766, allocations: 36.92 kB / 446.3 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.3778, allocations: 0.7533 MB / 447 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0032/0.381, allocations: 2.62 MB / 449.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.3823, allocations: 0.8477 MB / 450.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.3824, allocations: 8.5 kB / 450.5 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.3824, allocations: 42.98 kB / 450.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of pre-optimization done (n=50): time 1.903e-06/0.3824, allocations: 4 kB / 450.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.004067/0.3865, allocations: 2.206 MB / 452.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.3866, allocations: 93.53 kB / 452.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/0.387, allocations: 389.9 kB / 453.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.387, allocations: 37.7 kB / 453.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.3872, allocations: 292.4 kB / 453.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.3874, allocations: 177.4 kB / 453.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.3874, allocations: 12 kB / 453.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3876, allocations: 362.7 kB / 454.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005417/0.3881, allocations: 288.9 kB / 454.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005942/0.3887, allocations: 393.1 kB / 454.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/0.3893, allocations: 325.9 kB / 455.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3893, allocations: 4 kB / 455.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001487/0.3908, allocations: 0.8954 MB / 456 MB, free: 11.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.3909, allocations: 7.938 kB / 456 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.3909, allocations: 4 kB / 456 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002985/0.3912, allocations: 77.66 kB / 456 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.3928, allocations: 403.6 kB / 456.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005792/0.3986, allocations: 6.233 MB / 462.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.3991, allocations: 47.89 kB / 462.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.3991, allocations: 24.19 kB / 462.7 MB, free: 3.816 MB / 334.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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003654/0.3995, allocations: 237.6 kB / 463 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.493e-05/0.3996, allocations: 55.34 kB / 463 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.4011, allocations: 0.8594 MB / 463.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4012, allocations: 4 kB / 463.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4012, allocations: 0 / 463.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4012, allocations: 7.953 kB / 463.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/0.4042, allocations: 1.715 MB / 465.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.4042, allocations: 4 kB / 465.6 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/0.406, allocations: 427.7 kB / 466 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002761/0.4063, allocations: 89.62 kB / 466.1 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.4063, allocations: 15.94 kB / 466.1 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00288/0.4092, allocations: 2.903 MB / 469 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4093, allocations: 4.031 kB / 469.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/0.4118, allocations: 1.437 MB / 470.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.412, allocations: 124.5 kB / 470.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.287e-05/0.4121, allocations: 16.03 kB / 470.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.4125, allocations: 47.95 kB / 470.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.4126, allocations: 51.83 kB / 470.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.4126, allocations: 16 kB / 470.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003464/0.413, allocations: 283.1 kB / 471 MB, free: 11.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.413, allocations: 0 / 471 MB, free: 11.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008678/0.4139, allocations: 148 kB / 471.2 MB, free: 10.87 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001922/0.4141, allocations: 115.1 kB / 471.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002968/0.4171, allocations: 1.202 MB / 472.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4171, allocations: 0 / 472.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002285/0.4194, allocations: 0.8963 MB / 473.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/0.42, allocations: 129.7 kB / 473.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.4236, allocations: 1.875 MB / 475.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005849/0.4242, allocations: 0.9525 MB / 476.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004058/0.4246, allocations: 132.7 kB / 476.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.4247, allocations: 43.42 kB / 476.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4247, allocations: 0 / 476.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of Templates: time 0.01418/0.4389, allocations: 7.11 MB / 483.6 MB, free: 14.31 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) Environment - environmentSimulation: